Commit 1e8168ad authored by Tomaz  Canabrava's avatar Tomaz Canabrava

Also display time on the clock thumbnail

parent 07cf18a6
......@@ -43,7 +43,8 @@ Item {
Plasmoid.preferredRepresentation: Plasmoid.compactRepresentation
Plasmoid.toolTipMainText: Qt.formatDate(dataSource.data["Local"]["DateTime"],"dddd")
Plasmoid.toolTipSubText: Qt.formatDate(dataSource.data["Local"]["DateTime"], Qt.locale().dateFormat(Locale.LongFormat).replace(/(^dddd.?\s)|(,?\sdddd$)/, ""))
Plasmoid.toolTipSubText: Qt.formatTime(dataSource.data["Local"]["DateTime"], "hh:mm") + "\n" +
Qt.formatDate(dataSource.data["Local"]["DateTime"], Qt.locale().dateFormat(Locale.LongFormat).replace(/(^dddd.?\s)|(,?\sdddd$)/, ""))
PlasmaCore.DataSource {
id: dataSource
......
Markdown is supported
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