You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code describes the tz_offset code as:
:param int tz_offset: The offset of the local timezone,
in seconds west of UTC (negative in most of Western Europe,
positive in the US, zero in the UK).
"""
try:
now = self._esp.get_time()
now = time.localtime(now[0] + tz_offset)
Timezone offset in the US is negative. For example MST7 is -25200.
The text was updated successfully, but these errors were encountered:
The code describes the tz_offset code as:
:param int tz_offset: The offset of the local timezone,
in seconds west of UTC (negative in most of Western Europe,
positive in the US, zero in the UK).
"""
Timezone offset in the US is negative. For example MST7 is -25200.
The text was updated successfully, but these errors were encountered: