From bb3c33831dab6ef39ce6bf5a30882044f20d108a Mon Sep 17 00:00:00 2001 From: Andy Williams Date: Tue, 21 Jan 2025 10:32:34 +0000 Subject: [PATCH] Fix 12h clock format --- internal/ui/widgetpanel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/widgetpanel.go b/internal/ui/widgetpanel.go index efca01cf..b55bbde8 100644 --- a/internal/ui/widgetpanel.go +++ b/internal/ui/widgetpanel.go @@ -103,7 +103,7 @@ func (w *widgetPanel) clockRefresh() { func (w *widgetPanel) formattedTime() string { if w.desk.Settings().ClockFormatting() == "12h" { - return time.Now().Format("03:04pm") + return time.Now().Format("3:04pm") } return time.Now().Format("15:04")