From a734235cd07b8e20a96555d82033f5055ed916d4 Mon Sep 17 00:00:00 2001 From: LemmyCook Date: Thu, 18 Sep 2025 22:05:33 -0400 Subject: [PATCH] Autoformating --- Modules/Bar/Widgets/Clock.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Modules/Bar/Widgets/Clock.qml b/Modules/Bar/Widgets/Clock.qml index 28a2205d..70a0adea 100644 --- a/Modules/Bar/Widgets/Clock.qml +++ b/Modules/Bar/Widgets/Clock.qml @@ -157,12 +157,12 @@ Rectangle { if (verticalMode) { // Compact mode: date section (last 2 lines) switch (index) { - case 0: - return monthBeforeDay ? (now.getMonth() + 1).toString().padStart(2, '0') : now.getDate().toString().padStart(2, '0') - case 1: - return monthBeforeDay ? now.getDate().toString().padStart(2, '0') : (now.getMonth() + 1).toString().padStart(2, '0') - default: - return "" + case 0: + return monthBeforeDay ? (now.getMonth() + 1).toString().padStart(2, '0') : now.getDate().toString().padStart(2, '0') + case 1: + return monthBeforeDay ? now.getDate().toString().padStart(2, '0') : (now.getMonth() + 1).toString().padStart(2, '0') + default: + return "" } } return ""