We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773b1d4 commit b4e97ebCopy full SHA for b4e97eb
src/modules/clock.cpp
@@ -24,7 +24,7 @@ waybar::modules::Clock::Clock(const std::string& id, const Json::Value& config)
24
m_tlpFmt_{(config_["tooltip-format"].isString()) ? config_["tooltip-format"].asString() : ""},
25
m_tooltip_{new Gtk::Label()},
26
cldInTooltip_{m_tlpFmt_.find("{" + kCldPlaceholder + "}") != std::string::npos},
27
- cldYearShift_{1900y / 1 / 1},
+ cldYearShift_{January / 1 / 1900},
28
tzInTooltip_{m_tlpFmt_.find("{" + kTZPlaceholder + "}") != std::string::npos},
29
tzCurrIdx_{0},
30
ordInTooltip_{m_tlpFmt_.find("{" + kOrdPlaceholder + "}") != std::string::npos} {
0 commit comments