fix(clock): lower precision of zoned_time to avoid fractional seconds in output

This commit is contained in:
Aleksei Bavshin
2020-02-05 00:51:56 -08:00
parent e1215a6d17
commit e70f8d8730
2 changed files with 4 additions and 3 deletions

View File

@ -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 {