Daylight Saving Time spelling fix (#1677)

This commit is contained in:
Dan Gentry 2021-04-08 11:04:40 -04:00 committed by GitHub
parent 586e36906d
commit b53f9f2a81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ def convert_tz(pytz_obj):
_tz_dst_str(dst_ends_local), _tz_dst_str(dst_ends_local),
) )
_LOGGER.info( _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", "%s to %s",
tzname_off, tzname_off,
_tz_timedelta(utcoffset_off), _tz_timedelta(utcoffset_off),

View file

@ -30,7 +30,7 @@ struct ESPTime {
uint8_t month; uint8_t month;
/// year /// year
uint16_t year; uint16_t year;
/// daylight savings time flag /// daylight saving time flag
bool is_dst; bool is_dst;
union { union {
ESPDEPRECATED(".time is deprecated, use .timestamp instead") time_t time; ESPDEPRECATED(".time is deprecated, use .timestamp instead") time_t time;