Update real_time_clock.h

This commit is contained in:
Rebbe Pod 2024-08-22 02:39:48 -04:00
parent 7130245685
commit 0b5838ca8e

View file

@ -23,7 +23,7 @@ class RealTimeClock : public PollingComponent {
/// Set the time zone.
void set_timezone(const std::string &tz) { this->timezone_ = tz; }
void set_time(uint32_t epoch) { this->synchronize_epoch_(epoch); }
void set_epoch(uint32_t epoch) { this->synchronize_epoch_(epoch); }
/// Get the time zone currently in use.
std::string get_timezone() { return this->timezone_; }