From ebccb33b4eb60a07e667332665181ba9ad352615 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 21 Oct 2026 15:05:50 +0200 Subject: ... --- accounts/gkleen@skadhi/shell/quickshell-plugins/Chrono.cpp | 2 +- accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'accounts/gkleen@skadhi/shell') 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& } QString Chrono::format(const QString& fmt) const { - return QString::fromStdString(std::format(std::runtime_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast(this->currentTime)))); + return QString::fromStdString(std::format(std::dynamic_format(fmt.toStdString()), std::chrono::zoned_time(std::chrono::current_zone(), std::chrono::time_point_cast(this->currentTime)))); } QDateTime Chrono::date() const { diff --git a/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp b/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp index 1fa236f6..a1fbe0d3 100644 --- a/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp +++ b/accounts/gkleen@skadhi/shell/quickshell-plugins/Systemd.cpp @@ -1,6 +1,7 @@ #include "Systemd.hpp" #include +#include #include #include -- cgit v1.2.3