feat(clock): support chrono Time Zone extensions.

Use chrono Calendars and Time Zones (P0355R7, P1466R3) when available
instead of the `date` library.
Verified with a patched build of a recent GCC 13 snapshot.
This commit is contained in:
Aleksei Bavshin
2023-01-16 17:30:06 -08:00
parent 6225db0a48
commit 93e340a081
5 changed files with 45 additions and 11 deletions

View File

@ -1,8 +1,7 @@
#pragma once
#include <date/tz.h>
#include "ALabel.hpp"
#include "util/date.hpp"
#include "util/sleeper_thread.hpp"
namespace waybar::modules {