Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37039239
en ru br
ALT Linux repos
S:5.0.1-alt1

Group :: Development/Python3
RPM: python3-module-tzlocal

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Current version: 5.0.1-alt1
Build date: 24 may 2023, 17:31 ( 44.1 weeks ago )
Size: 26.71 Kb

Home 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.

Current maintainer: Egor Ignatov

List of contributors

List of rpms provided by this srpm:

  • python3-module-tzlocal
  • python3-module-tzlocal-tests
ACL:
     
    design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
    current maintainer: Michael Shigorin