nikola.packages.tzlocal package

Submodules

nikola.packages.tzlocal.darwin module

tzlocal for OS X.

nikola.packages.tzlocal.darwin.get_localzone()

Get the computers configured local timezone, if any.

nikola.packages.tzlocal.darwin.reload_localzone()

Reload the cached localzone. You need to call this if the timezone has changed.

nikola.packages.tzlocal.unix module

tzlocal for UNIX.

nikola.packages.tzlocal.unix.get_localzone()

Get the computers configured local timezone, if any.

nikola.packages.tzlocal.unix.reload_localzone()

Reload the cached localzone. You need to call this if the timezone has changed.

nikola.packages.tzlocal.win32 module

tzlocal for Windows.

nikola.packages.tzlocal.win32.get_localzone()

Return the zoneinfo-based tzinfo object that matches the Windows-configured timezone.

nikola.packages.tzlocal.win32.get_localzone_name()

Get local time zone name.

nikola.packages.tzlocal.win32.reload_localzone()

Reload the cached localzone. You need to call this if the timezone has changed.

nikola.packages.tzlocal.win32.valuestodict(key)

Convert a registry key’s values to a dictionary.

nikola.packages.tzlocal.windows_tz module

Windows timezone names.

Module contents

tzlocal init.