Sie befinden sich hier: eisfair / Pack-Eis
News News News

Navigation

Content

python313-tzlocal (python3)

Python 3.13 - tzlocal - zinfo object for the local timezone (Offizielles Paket)

Version: 3.6.0 Status: stable Release Datum: 2025-05-04
Autor: the eisfair team, team(at)eisfair(dot)org
Internal Program Version: tzlocal  4.3

This Python module returns a tzinfo object with the local timezone information
under Unix and Win-32. It requires pytz, and returns pytz tzinfo objects.

This module attempts to fix a glaring hole in pytz, that there is no way to get
the local timezone information, unless you know the zoneinfo name, and under
several Linux distros thats hard or impossible to figure out.

Also, with Windows different timezone system using pytz is not of much use unless
you separately configure the zoneinfo timezone name.

With tzlocal you only need to call get_localzone() and you will get a tzinfo
object with the local time zone info. On some Unices you will still not get to
know what the timezone name is, but you do not need that when you have the tzinfo
file. However, if the timezone name is readily available it will be used.

https://github.com/regebro/tzlocal
SHA256-Prüfsumme: 04e5c075c53d9891d2bca5f7a14f4c07c96d9d342c2c3b7fac0720097aa22a6c
Größe: 35.6 KByte
Info-Datei: https://www.pack-eis.de/dl.php?l=73638/python313-tzlocal.tar.bz2.info
Benötigte Pakete: python313-base
python313-pytz 3.6.0
python313-pytz-deprecation-shim 3.6.0