[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#819126: ITP: tzlocal -- tzinfo object for the local timezone



Brian May <bam@debian.org> writes:

> Package: wnpp
> Severity: wishlist
> Owner: Brian May <bam@debian.org>
>
> * Package name    : tzlocal

Meant to clarify. The source package is tzlocal, the binary
python-tzlocal and python3-tzlocal.

>   Version         : 2.1
>   Upstream Author : Lennart Regebro <regebro@gmail.com>
> * URL             : https://github.com/regebro/tzlocal
> * License         : CC0
>   Programming Lang: Python2 and Python3
>   Description     : tzinfo object for the local timezone
>
>  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.
>  .
>  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.
>  .
>  This package contains the Python 2 module.
>
> This is required for the latest version of apscheduler. I plan to
> maintain it as part of the Debian Python Modules Team.
-- 
Brian May <bam@debian.org>


Reply to: