package documentation

Babel specific fork of tzlocal to determine the local timezone of the system.

Unknown Field: copyright
  1. 2013-2021 by the Babel Team.
Unknown Field: license
BSD, see LICENSE for more details.
Module ​_unix No module docstring; 0/1 variable, 1/2 function documented
Module ​_win32 No module docstring; 0/2 variable, 1/3 function documented

From __init__.py:

Constant DSTDIFF Undocumented
Constant DSTOFFSET Undocumented
Constant LOCALTZ Undocumented
Constant STDOFFSET Undocumented
Constant ZERO Undocumented
Class _​Fallback​Local​Timezone Undocumented
Function get​_localzone Returns the current underlying local timezone object. Generally this function does not need to be used, it's a better idea to use the LOCALTZ singleton instead.
Variable ​_cache​_lock Undocumented
Variable ​_cached​_tz Undocumented
_cached_tz =

Undocumented

_cache_lock =

Undocumented

STDOFFSET =

Undocumented

Value
timedelta(seconds=-time.timezone)
DSTOFFSET =

Undocumented

Value
timedelta(seconds=-time.altzone)
DSTDIFF =

Undocumented

Value
DSTOFFSET-STDOFFSET
ZERO =

Undocumented

Value
timedelta(0)
def get_localzone():
Returns the current underlying local timezone object. Generally this function does not need to be used, it's a better idea to use the LOCALTZ singleton instead.
LOCALTZ =

Undocumented

Value
_FallbackLocalTimezone()