dashboard: fix calendar
Fixes days in negative utc timezones
This commit is contained in:
parent
148366013c
commit
1362e22d79
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ Column {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
|
||||||
horizontalAlignment: Text.AlignHCenter
|
horizontalAlignment: Text.AlignHCenter
|
||||||
text: grid.locale.toString(day.model.date, "d")
|
text: Qt.formatDate(day.model.date, "d")
|
||||||
color: day.model.today ? Colours.palette.m3onPrimary : day.model.month === grid.month ? Colours.palette.m3onSurfaceVariant : Colours.palette.m3outline
|
color: day.model.today ? Colours.palette.m3onPrimary : day.model.month === grid.month ? Colours.palette.m3onSurfaceVariant : Colours.palette.m3outline
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue