summaryrefslogtreecommitdiff
path: root/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2026-10-21 15:05:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2026-10-21 15:05:50 +0200
commitebccb33b4eb60a07e667332665181ba9ad352615 (patch)
tree14947c3add7677919250265616f9ab4f5f6b071b /accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp
parentf2c90589d4d4d6c1f101c969d1363729171b3115 (diff)
downloadnixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar
nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.gz
nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.bz2
nixos-ebccb33b4eb60a07e667332665181ba9ad352615.tar.xz
nixos-ebccb33b4eb60a07e667332665181ba9ad352615.zip
...
Diffstat (limited to 'accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp')
-rw-r--r--accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp b/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp
index 22b3469b..2487cddd 100644
--- a/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp
+++ b/accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp
@@ -75,7 +75,7 @@ void Chrono::schedule(const std::chrono::time_point<std::chrono::system_clock>&
75} 75}
76 76
77QString Chrono::format(const QString& fmt) const { 77QString Chrono::format(const QString& fmt) const {
78 return QString::fromStdString(std::format(std::runtime_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast<std::chrono::seconds>(this->currentTime)))); 78 return QString::fromStdString(std::format(std::dynamic_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast<std::chrono::seconds>(this->currentTime))));
79} 79}
80 80
81QDateTime Chrono::date() const { 81QDateTime Chrono::date() const {