Package python3-module-tzlocal: Information
Source package: python3-module-tzlocal
Version: 5.0.1-alt1
Build time: May 25, 2023, 03:45 PM in the task #321784
Category: Development/Python3
Report package bugHome page: https://pypi.python.org/pypi/tzlocal/
License: MIT
Summary: A Python module that tries to figure out what your local timezone is
Description:
This Python module returns a tzinfo object (with a pytz_deprecation_shim, for pytz compatibility) with the local timezone information, under Unix and Windows. It requires Python 3.6 or later, and will use the backports.tzinfo package, for Python 3.6 to 3.8. 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.
Maintainer: Egor Ignatov
List of contributors:
Egor Ignatov
Vitaly Lipatov
Andrey Bychkov
Stanislav Levin
Igor Vlasenko
Ivan Zakharyaschev
Eugeny A. Rostovtsev
Egor Ignatov
Vitaly Lipatov
Andrey Bychkov
Stanislav Levin
Igor Vlasenko
Ivan Zakharyaschev
Eugeny A. Rostovtsev
ACL:
@python
@everybody
@python
@everybody
Last changed
May 24, 2023 Egor Ignatov 5.0.1-alt1
- new version 5.0.1
April 21, 2022 Egor Ignatov 4.2-alt1
- new version 4.2
March 22, 2020 Vitaly Lipatov 2.0.0-alt1
- new version 2.0.0 (with rpmrb script) - adopt spec for rpmgs util - temp. ignore test results