Autoformating

This commit is contained in:
LemmyCook
2025-09-18 22:05:33 -04:00
parent 8fdc6a0f72
commit a734235cd0
+6 -6
View File
@@ -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 ""