On epoch sync, restore local TZ (#3462)

Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net>
This commit is contained in:
Maurice Makaay
2022-05-11 23:25:00 +02:00
committed by GitHub
parent f8a1bd4e79
commit 3f678e218d
2 changed files with 11 additions and 2 deletions
@@ -137,6 +137,7 @@ class RealTimeClock : public PollingComponent {
void synchronize_epoch_(uint32_t epoch);
std::string timezone_{};
void apply_timezone_();
CallbackManager<void()> time_sync_callback_;
};