diff options
Diffstat (limited to 'internal/tui/shared.go')
-rw-r--r-- | internal/tui/shared.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/tui/shared.go b/internal/tui/shared.go index 0b0a8c2..e0ee9a0 100644 --- a/internal/tui/shared.go +++ b/internal/tui/shared.go @@ -132,9 +132,7 @@ func RenderTopBar(m AppModel) string { week += activeTime } - right := fmt.Sprintf("Today: %s | Week: %s", - FormatDuration(today), - FormatDuration(week)) + right := fmt.Sprintf("Today: %s | Week: %s", FormatDuration(today), FormatDuration(week)) // Use lipgloss to create left and right aligned content leftStyle := lipgloss.NewStyle().Align(lipgloss.Left) @@ -237,7 +235,7 @@ func getAppData( return } - now := time.Now() + now := time.Now().UTC() todayY, todayM, todayD := now.Date() lastMon := mostRecentMonday(now) inDay := true |