This commit is contained in:
Hannes
2026-06-19 16:26:15 +02:00
parent 8888b84b0a
commit b71f4d8c7e
4 changed files with 29 additions and 20 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import Quickshell.Io
QtObject {
id: root
property string shortDate: Qt.formatDate(new Date(), "ddd, dd.MM.yyyy - ")
property string shortDate: Qt.formatDate(new Date(), "dd.MM.yyyy - ")
property string fullDate: Qt.formatDate(new Date(), "dddd, MMMM d, yyyy")
property string currentTime: Qt.formatTime(new Date(), "hh:mm:ss")
property string uptime: "Uptime: ..."
@@ -26,7 +26,7 @@ QtObject {
repeat: true
triggeredOnStart: true
onTriggered: {
root.shortDate = Qt.formatDate(new Date(), "ddd, dd.MM.yyyy - ")
root.shortDate = Qt.formatDate(new Date(), "dd.MM.yyyy - ")
root.fullDate = Qt.formatDate(new Date(), "dddd, MMMM d, yyyy")
}
}