nixos-config/fix-waybar.patch

14 lines
545 B
Diff
Raw Normal View History

2020-08-22 13:09:54 +00:00
diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp
index f313606..daa0f6a 100644
--- a/src/modules/clock.cpp
+++ b/src/modules/clock.cpp
@@ -46,7 +46,7 @@ auto waybar::modules::Clock::update() -> void {
date::make_zoned(time_zone_, date::floor<std::chrono::seconds>(now))};
std::string text;
- if (!fixed_time_zone_) {
+ if (false && !fixed_time_zone_) {
// As date dep is not fully compatible, prefer fmt
tzset();
auto localtime = fmt::localtime(std::chrono::system_clock::to_time_t(now));