./time/py-pytz, World timezone definitions, modern and historical

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2018Q4, Version: 2018.7, Package name: py27-pytz-2018.7, Maintainer: markd

pytz brings the Olson tz database into Python. This library allows accurate
and cross platform timezone calculations using Python 2.3 or higher. It also
solves the issue of ambiguous times at the end of daylight savings, which you
can read more about in the Python Library Reference (datetime.tzinfo).

Amost all (over 540) of the Olson timezones are supported [*].

Note that if you perform date arithmetic on local times that cross DST
boundaries, the results may be in an incorrect timezone (ie. subtract 1
minute from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of
the correct 2002-10-27 1:59 EDT). This cannot be resolved without modifying
the Python datetime implementation. However, these tzinfo classes provide a
normalize() method which allows you to correct these values.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8a01d7f19c8b8b189827e026b76c51be4b537b89
RMD160: 3a0261c7c650ea0c78168a8f3d2585e741019c59
Filesize: 293.696 KB

Version history: (Expand)