Commit 52d5acab authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Use Qt Locale Format to format the time on the clock

parent 1e8168ad
......@@ -43,7 +43,7 @@ Item {
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
Plasmoid.toolTipMainText: Qt.formatDate(["Local"]["DateTime"],"dddd")
Plasmoid.toolTipSubText: Qt.formatTime(["Local"]["DateTime"], "hh:mm") + "\n" +
Plasmoid.toolTipSubText: Qt.formatTime(["Local"]["DateTime"], Qt.locale().timeFormat(Locale.LongFormat)) + "\n" +
Qt.formatDate(["Local"]["DateTime"], Qt.locale().dateFormat(Locale.LongFormat).replace(/(^dddd.?\s)|(,?\sdddd$)/, ""))
PlasmaCore.DataSource {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment