1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-28 07:22:50 -05:00

Update time format to HH:MM (e.g. 03:00)

This commit is contained in:
Vantesh
2025-08-26 03:03:31 +03:00
parent a185679cd1
commit c04699accf
4 changed files with 6 additions and 6 deletions

View File

@@ -250,7 +250,7 @@ Rectangle {
if (modelData.allDay) {
return "All day"
} else {
let timeFormat = SettingsData.use24HourClock ? "H:mm" : "h:mm AP"
let timeFormat = SettingsData.use24HourClock ? "HH:mm" : "hh:mm AP"
let startTime = Qt.formatTime(
modelData.start, timeFormat)
if (modelData.start.toDateString(