fix: missing colon in 24h lock forecast time (#1520)

Co-authored-by: FoxlikeCreature <safonovkirill113@gmail.com>
This commit is contained in:
Foxlike Creature 2026-06-08 10:06:46 +07:00 committed by GitHub
parent b2a62e72ab
commit 94ad40c5c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,7 +95,7 @@ StyledRect {
StyledText {
Layout.topMargin: Tokens.spacing.extraSmall
Layout.alignment: Qt.AlignHCenter
text: hour.index === 0 ? qsTr("Now") : Qt.formatDateTime(new Date(hour.cond.timestamp.replace("T", " ")), GlobalConfig.services.useTwelveHourClock ? "ha" : "hh00")
text: hour.index === 0 ? qsTr("Now") : Qt.formatDateTime(new Date(hour.cond.timestamp.replace("T", " ")), GlobalConfig.services.useTwelveHourClock ? "ha" : "hh:00")
color: Colours.palette.m3onSurfaceVariant
font: Tokens.font.body.medium
}