hacky english month and day names while using system locale
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Python / lint-format (pull_request) Successful in 17s
Python / test (pull_request) Successful in 29s
Lint & Format (Rust) / lint-format (pull_request) Successful in 1m8s

This commit is contained in:
2026-06-17 11:59:29 +02:00
parent c0b62dfb6c
commit b034400df9
4 changed files with 32030 additions and 7 deletions
+3 -2
View File
@@ -220,7 +220,7 @@ CustomMouseArea {
color: (model.day === 0) ? DynamicColors.palette.m3tertiary : DynamicColors.palette.m3onSurface
horizontalAlignment: Text.AlignHCenter
text: model.shortName
text: Qt.locale("en_US").standaloneDayName(model.day, Locale.ShortFormat)
}
}
@@ -247,9 +247,10 @@ CustomMouseArea {
id: internalGrid
anchors.fill: parent
locale: Qt.locale()
locale: daysRow.locale
month: internalGridContainer.month
spacing: 3
title: `${Qt.locale("en_US").standaloneMonthName(month, Locale.LongFormat)} ${year}`
year: internalGridContainer.year
delegate: Item {