xmobar: use DateZone for current clock so it's locale aware

This commit is contained in:
Primrose 2025-08-24 23:53:00 +08:00
parent ff62595c46
commit e50d267ed3
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -19,7 +19,7 @@ config =
, textOffset = 2
, commands =
[ Run $ Date "%a %d %H:%M:%S" "hereClock" (1 &second)
[ Run $ DateZone "%a %d %H:%M:%S" "" "" "hereClock" (1 &second)
, Run $ DateZone "%H:%M" "" "America/Aruba" "arubaClock" (10 &second)
, Run $ DateZone "%H:%M" "" "America/Montreal" "montrealClock" (10 &second)
, Run $ DateZone "%H:%M" "" "Europe/Paris" "cetClock" (10 &second)