mirror of
https://github.com/developersu/ClearClock.git
synced 2025-07-01 17:49:04 +03:00
use user's locale
This commit is contained in:
parent
fd9e4795d2
commit
b27fe31503
1 changed files with 3 additions and 3 deletions
|
@ -105,8 +105,8 @@ PlasmoidItem {
|
|||
id: dayLabel
|
||||
visible: plasmoid.configuration.showDayDisplay
|
||||
anchors.centerIn: parent
|
||||
|
||||
text: Qt.formatDate(currentDateTime, "dddd")
|
||||
|
||||
text: currentDateTime.toLocaleString(Qt.locale(), "dddd")
|
||||
|
||||
color: plasmoid.configuration.dayFontColor
|
||||
font.family: if (plasmoid.configuration.dayFontFamily === "ccdefault") fontSmooch.name
|
||||
|
@ -131,7 +131,7 @@ PlasmoidItem {
|
|||
visible: plasmoid.configuration.showDateDisplay
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
|
||||
text: Qt.formatDate(currentDateTime, plasmoid.configuration.dateCustomDateFormat)
|
||||
text: currentDateTime.toLocaleString(Qt.locale(), plasmoid.configuration.dateCustomDateFormat)
|
||||
|
||||
color: plasmoid.configuration.dateFontColor
|
||||
font.family: if (plasmoid.configuration.dateFontFamily === "ccdefault") fontOutfitRegular.name
|
||||
|
|
Loading…
Reference in a new issue