Skip to content

Commit

Permalink
fix: revert clock
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexays committed Oct 18, 2023
1 parent 5319cb6 commit 871f9a1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/modules/clock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ auto waybar::modules::Clock::update() -> void {
tz, date::local_days(shiftedDay) +
(now.get_local_time() - date::floor<date::days>(now.get_local_time())))};

label_.set_markup(
fmt::format(locale_, fmt::runtime(format_), now.get_local_time().time_since_epoch()));
label_.set_markup(fmt::format(locale_, fmt::runtime(format_), now));

if (tooltipEnabled()) {
const std::string tz_text{(is_timezoned_list_in_tooltip_) ? timezones_text(now.get_sys_time())
Expand Down

0 comments on commit 871f9a1

Please sign in to comment.