From daea67322cd387c2caf8f1a326c90b4276c6e9bc Mon Sep 17 00:00:00 2001 From: T Date: Fri, 8 Aug 2025 10:57:56 -0600 Subject: bugfixes --- internal/tui/shared.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'internal/tui/shared.go') 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 -- cgit v1.2.3