From 7edcae651e1124c1437be93594c3aebf64090372 Mon Sep 17 00:00:00 2001 From: Laurens Duin <85798751+Laurens256@users.noreply.github.com> Date: Thu, 31 Jul 2025 12:41:56 +0200 Subject: config: respect user locale for twelve hour clock & temperature (#290) * bar: add 12h clock option * feat: allow custom format config * feat: 12h clock based on locale with config * chore: cleanup * fix: PR comments, add automatic fahrenheit * fix: formatting * dashboard: fix up date time * lock: better 12h clock --------- Co-authored-by: Soramane <61896496+soramanew@users.noreply.github.com> --- modules/background/DesktopClock.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/background') diff --git a/modules/background/DesktopClock.qml b/modules/background/DesktopClock.qml index 380e65a..a0e3f13 100644 --- a/modules/background/DesktopClock.qml +++ b/modules/background/DesktopClock.qml @@ -11,7 +11,7 @@ Item { id: timeText anchors.centerIn: parent - text: Time.format("hh:mm:ss") + text: Time.format(Config.services.useTwelveHourClock ? "hh:mm:ss A" : "hh:mm:ss") font.pointSize: Appearance.font.size.extraLarge font.bold: true } -- cgit v1.2.3-freya