mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 10:52:19 +01:00
[time] fix recalc_timestamp_local (#8239)
This commit is contained in:
@@ -197,6 +197,7 @@ void ESPTime::recalc_timestamp_local() {
|
||||
tm.tm_hour = this->hour;
|
||||
tm.tm_min = this->minute;
|
||||
tm.tm_sec = this->second;
|
||||
tm.tm_isdst = -1;
|
||||
|
||||
this->timestamp = mktime(&tm);
|
||||
}
|
||||
|
Reference in New Issue
Block a user