vertical bar: add date

This commit is contained in:
end-4
2025-08-16 11:55:27 +07:00
parent e189f0317f
commit 2a46b17958
4 changed files with 83 additions and 0 deletions
@@ -14,6 +14,7 @@ Singleton {
precision: SystemClock.Minutes
}
property string time: Qt.locale().toString(clock.date, Config.options?.time.format ?? "hh:mm")
property string shortDate: Qt.locale().toString(clock.date, Config.options?.time.shortDateFormat ?? "dd/MM")
property string date: Qt.locale().toString(clock.date, Config.options?.time.dateFormat ?? "dddd, dd/MM")
property string collapsedCalendarFormat: Qt.locale().toString(clock.date, "dd MMMM yyyy")
property string uptime: "0h, 0m"