mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
fix(clock): lower precision of zoned_time to avoid fractional seconds in output
This commit is contained in:
@ -14,7 +14,7 @@ namespace waybar::modules {
|
||||
|
||||
struct waybar_time {
|
||||
std::locale locale;
|
||||
date::zoned_time<std::chrono::system_clock::duration> ztime;
|
||||
date::zoned_seconds ztime;
|
||||
};
|
||||
|
||||
class Clock : public ALabel {
|
||||
|
Reference in New Issue
Block a user