From 83e090cc7e8cf770b672180ef1bb6a34305a5769 Mon Sep 17 00:00:00 2001 From: Quentin Raynaud Date: Fri, 7 Mar 2025 09:34:04 +0100 Subject: [PATCH] [time] fix recalc_timestamp_local (#8239) --- esphome/core/time.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/esphome/core/time.cpp b/esphome/core/time.cpp index 66a0e1c0a7..672f5b98bf 100644 --- a/esphome/core/time.cpp +++ b/esphome/core/time.cpp @@ -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); }