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

Navigation

Content

python310-tzlocal (python3)

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

Version: 3.4.2 Status: stable Release Datum: 2023-08-24
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 that’s hard or impossible to figure out.

Also, with Windows different timezone system using pytz isn’t 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 don’t 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: 2de1508b990687290f801c637c9ac4c01e816223b8fc66dfe0a225c68ef69201
Größe: 31.14 KByte
Info-Datei: https://www.pack-eis.de/dl.php?l=60336/python310-tzlocal.tar.bz2.info
Benötigte Pakete: python310-base 3.4.2
python310-pytz 3.4.0
python310-pytz-deprecation-shim 3.4.2