No leading zeros on the date in the bar

This commit is contained in:
David Heinemeier Hansson
2026-06-01 11:59:30 +02:00
parent 99bb924f37
commit 5812a7d04a
4 changed files with 74 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ BarWidget {
property date displayDate: clock.date
readonly property string activeFormat: alt
? setting("formatAlt", "dd MMMM 'W'ww yyyy")
? setting("formatAlt", "d MMMM 'W'ww yyyy")
: (bar && bar.vertical ? setting("verticalFormat", "HH\n—\nmm") : setting("format", "dddd HH:mm"))
function refresh() {