Skip to content

Commit

Permalink
Merge pull request #12 from matejsemancik/feature/times
Browse files Browse the repository at this point in the history
Submit worklog with startedAt time
  • Loading branch information
matejsemancik authored Feb 21, 2025
2 parents 92313fb + b04d3d2 commit 7921810
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ internal class WorklogRepoImpl(
jiraIssueId = jiraIssue.id,
// Current system default time zone is our best bet rn.
startedAtDate = createdAt.toLocalDateTime(TimeZone.currentSystemDefault()).date,
// Disabled until I find out how to properly work with time zones (no clear guidance on Tempo side)
// startedAtTime = createdAt.toLocalDateTime(TimeZone.UTC).time.dropNanos(),
// Current system default time zone is our best bet rn.
startedAtTime = createdAt.toLocalDateTime(TimeZone.currentSystemDefault()).time.dropNanos(),
timeSpentSeconds = timeSpent.inWholeSeconds,
description = description
)
Expand Down

0 comments on commit 7921810

Please sign in to comment.