Skip to content

Commit

Permalink
Fixing 12h mode alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
merschformann committed Jan 11, 2025
1 parent acc076e commit 9e4a327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/plot.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type Plotter struct {
// though).
func formatTime(twelve bool, t time.Time) string {
if twelve {
return t.Format("3:04PM")
return t.Format("03:04PM")
} else {
return t.Format("15:04")
}
Expand Down

0 comments on commit 9e4a327

Please sign in to comment.