mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 05:24:53 +01:00
Daylight Saving Time spelling fix (#1677)
This commit is contained in:
parent
586e36906d
commit
b53f9f2a81
2 changed files with 2 additions and 2 deletions
|
@ -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),
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue