DateTime: proper locale usage. Fix #390

Replaced all Qt.formatDateTime() by Qt.locale().toString()
This commit is contained in:
ItsLemmy
2025-09-29 10:07:58 -04:00
parent 933ba54612
commit 22794ea922
5 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ NBox {
NText {
text: {
var weatherDate = new Date(LocationService.data.weather.daily.time[index].replace(/-/g, "/"))
return Qt.formatDateTime(weatherDate, "ddd")
return Qt.locale().toString(weatherDate, "ddd")
}
color: Color.mOnSurface
Layout.alignment: Qt.AlignHCenter