summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash/Calendar.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-26 16:59:32 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-26 16:59:32 +1000
commit1362e22d797db41564565e88a1dadfe9812e4456 (patch)
treeffdadcf4a856ff13a8815bc62a1b241affdf7bbc /modules/dashboard/dash/Calendar.qml
parentinternal: fix network typeerrors (diff)
downloadcaelestia-shell-1362e22d797db41564565e88a1dadfe9812e4456.tar.gz
caelestia-shell-1362e22d797db41564565e88a1dadfe9812e4456.tar.bz2
caelestia-shell-1362e22d797db41564565e88a1dadfe9812e4456.zip
dashboard: fix calendar
Fixes days in negative utc timezones
Diffstat (limited to 'modules/dashboard/dash/Calendar.qml')
-rw-r--r--modules/dashboard/dash/Calendar.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/dashboard/dash/Calendar.qml b/modules/dashboard/dash/Calendar.qml
index aacea8f..1860d9f 100644
--- a/modules/dashboard/dash/Calendar.qml
+++ b/modules/dashboard/dash/Calendar.qml
@@ -63,7 +63,7 @@ Column {
anchors.centerIn: parent
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
}
}