Fix freebsd action

pull/1476/head
Louis des Landes 2022-03-10 14:48:01 +01:00
parent 3c1ba0a240
commit 8b6bc215cc
No known key found for this signature in database
GPG Key ID: 56C3331847C3F269
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ class Clock : public ALabel {
auto first_day_of_week() -> date::weekday;
const date::time_zone* current_timezone();
bool is_timezone_fixed();
auto timezones_text(std::chrono::_V2::system_clock::time_point *now) -> std::string;
auto timezones_text(std::chrono::system_clock::time_point *now) -> std::string;
};
} // namespace modules

View File

@ -219,7 +219,7 @@ auto waybar::modules::Clock::weekdays_header(const date::weekday& first_dow, std
os << "\n";
}
auto waybar::modules::Clock::timezones_text(std::chrono::_V2::system_clock::time_point *now) -> std::string {
auto waybar::modules::Clock::timezones_text(std::chrono::system_clock::time_point *now) -> std::string {
if (time_zones_.size() == 1) {
return "";
}