From b53f9f2a81322b4d700e12fd1b8b3d96174f4bf6 Mon Sep 17 00:00:00 2001 From: Dan Gentry Date: Thu, 8 Apr 2021 11:04:40 -0400 Subject: [PATCH] Daylight Saving Time spelling fix (#1677) --- esphome/components/time/__init__.py | 2 +- esphome/components/time/real_time_clock.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/time/__init__.py b/esphome/components/time/__init__.py index b1c938c18e..8fbc2dcaf6 100644 --- a/esphome/components/time/__init__.py +++ b/esphome/components/time/__init__.py @@ -138,7 +138,7 @@ def convert_tz(pytz_obj): _tz_dst_str(dst_ends_local), ) _LOGGER.info( - "Detected timezone '%s' with UTC offset %s and daylight savings time from " + "Detected timezone '%s' with UTC offset %s and daylight saving time from " "%s to %s", tzname_off, _tz_timedelta(utcoffset_off), diff --git a/esphome/components/time/real_time_clock.h b/esphome/components/time/real_time_clock.h index a809401c33..c591482729 100644 --- a/esphome/components/time/real_time_clock.h +++ b/esphome/components/time/real_time_clock.h @@ -30,7 +30,7 @@ struct ESPTime { uint8_t month; /// year uint16_t year; - /// daylight savings time flag + /// daylight saving time flag bool is_dst; union { ESPDEPRECATED(".time is deprecated, use .timestamp instead") time_t time;