Skip to content

Commit b4e97eb

Browse files
committed
FreeBSD format fix
Signed-off-by: Viktar Lukashonak <myxabeer@gmail.com>
1 parent 773b1d4 commit b4e97eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/clock.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ waybar::modules::Clock::Clock(const std::string& id, const Json::Value& config)
2424
m_tlpFmt_{(config_["tooltip-format"].isString()) ? config_["tooltip-format"].asString() : ""},
2525
m_tooltip_{new Gtk::Label()},
2626
cldInTooltip_{m_tlpFmt_.find("{" + kCldPlaceholder + "}") != std::string::npos},
27-
cldYearShift_{1900y / 1 / 1},
27+
cldYearShift_{January / 1 / 1900},
2828
tzInTooltip_{m_tlpFmt_.find("{" + kTZPlaceholder + "}") != std::string::npos},
2929
tzCurrIdx_{0},
3030
ordInTooltip_{m_tlpFmt_.find("{" + kOrdPlaceholder + "}") != std::string::npos} {

0 commit comments

Comments
 (0)