MCPcopy Create free account
hub / github.com/Alexays/Waybar / cldShift_reset

Method cldShift_reset

src/modules/clock.cpp:489–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

487 cldCurrShift_ -= (months)((cldMode_ == CldMode::YEAR) ? 12 : 1) * cldShift_;
488}
489void waybar::modules::Clock::cldShift_reset() { cldCurrShift_ = (months)0; }
490void waybar::modules::Clock::tz_up() {
491 const auto tzSize{tzList_.size()};
492 if (tzSize == 1) return;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected