Merge from vendor branch TNF:
[pkgsrcv2.git] / time / py-pytz / DESCR
1 pytz brings the Olson tz database into Python. This library allows accurate
2 and cross platform timezone calculations using Python 2.3 or higher. It also
3 solves the issue of ambiguous times at the end of daylight savings, which you
4 can read more about in the Python Library Reference (datetime.tzinfo).
5
6 Amost all (over 540) of the Olson timezones are supported [*].
7
8 Note that if you perform date arithmetic on local times that cross DST
9 boundaries, the results may be in an incorrect timezone (ie. subtract 1
10 minute from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of
11 the correct 2002-10-27 1:59 EDT). This cannot be resolved without modifying
12 the Python datetime implementation. However, these tzinfo classes provide a
13 normalize() method which allows you to correct these values.