diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp index 3d6b8919..3d74f2fc 100644 --- a/src/modules/clock.cpp +++ b/src/modules/clock.cpp @@ -173,7 +173,7 @@ auto waybar::modules::Clock::update() -> void { // Define shift local time const auto shiftedNow{date::make_zoned( tz, date::local_days(shiftedDay) + - (now.get_local_time() - date::floor(now.get_local_time())))}; + (now.get_sys_time() - date::floor(now.get_sys_time())))}; label_.set_markup(fmt::format(locale_, fmt::runtime(format_), now));