Fix time format

pull/18/head
kateleet 4 years ago
parent 90f0041789
commit 4a4eeaae4b

@ -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)
}
}
}

Loading…
Cancel
Save