diff --git a/qml/main.qml b/qml/main.qml index f4c2a8b..70302db 100644 --- a/qml/main.qml +++ b/qml/main.qml @@ -461,7 +461,8 @@ Item { running: true triggeredOnStart: true onTriggered: { - timeLabel.text = new Date().toLocaleTimeString(Qt.locale(), rootItem.timeFormat) + timeLabel.text = new Date().toLocaleTimeString(Qt.locale(), StatusBar.twentyFourTime ? rootItem.timeFormat + : Locale.ShortFormat) } } }