Letter P

python313-tzlocal - tzinfo object for the local timezone

Website: https://github.com/regebro/tzlocal
License: MIT
Vendor: Alcance Libre, Inc.
Description:
This Python module returns the IANA time zone name for your local time
zone or a tzinfo object with the local timezone information, under
Unix and Windows.

This module attempts to fix a glaring hole in the pytz and zoneinfo
modules, 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.

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.

Packages

python313-tzlocal-5.4.4-1.aldos.src [34 KiB] Changelog by Joel Barrios (2026-09-16):
- Initial spec file.

Listing created by Repoview-0.7.1