package documentation

babel.localtime ~~~~~~~~~~~~~~~ Babel specific fork of tzlocal to determine the local timezone of the system. :copyright: (c) 2013-2023 by the Babel Team. :license: BSD, see LICENSE for more details.

Module _fallback babel.localtime._fallback ~~~~~~~~~~~~~~~~~~~~~~~~~
Module _helpers No module docstring; 1/3 function documented
Module _unix No module docstring; 1/2 function documented
Module _win32 No module docstring; 0/1 variable, 1/3 function documented

From __init__.py:

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 :data:`LOCALTZ` singleton instead.
Constant LOCALTZ Undocumented
def get_localzone() -> datetime.tzinfo: (source)

Returns the current underlying local timezone object. Generally this function does not need to be used, it's a better idea to use the :data:`LOCALTZ` singleton instead.

Undocumented

Value
get_localzone()