mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	feat: add comment
This commit is contained in:
		| @@ -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; | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex