Skip to content

Commit

Permalink
Fix 12h clock format
Browse files Browse the repository at this point in the history
  • Loading branch information
andydotxyz committed Jan 21, 2025
1 parent f8f639c commit bb3c338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ui/widgetpanel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit bb3c338

Please sign in to comment.