From 60bad8279eabbf8867269c9d12f1fe6ba287224d Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 22 May 2020 19:09:50 +0200 Subject: [PATCH] feat: add comment --- src/modules/clock.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp index f829d94b..b8c7387a 100644 --- a/src/modules/clock.cpp +++ b/src/modules/clock.cpp @@ -14,6 +14,7 @@ using waybar::modules::waybar_time; waybar::modules::Clock::Clock(const std::string& id, const Json::Value& config) : ALabel(config, "clock", id, "{:%H:%M}", 60), fixed_time_zone_(false) { if (config_["timezone"].isString()) { + spdlog::warn("As using a timezone, some format args may be missing as the date library havn't got a release since 2018."); time_zone_ = date::locate_zone(config_["timezone"].asString()); fixed_time_zone_ = true; }