wok diff python-pytz/description.txt @ rev 25438

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 11:12:31 2022 +0000 (22 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-pytz/description.txt	Thu Sep 01 11:12:31 2022 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +Pytz brings the Olson tz database into Python.
     1.5 +This library allows accurate and cross platform timezone calculations using
     1.6 +Python 2.4 or higher.
     1.7 +It also solves the issue of ambiguous times at the end of daylight saving time,
     1.8 +which you can read more about in the Python Library Reference (datetime.tzinfo).
     1.9 +
    1.10 +Almost all of the Olson timezones are supported.
    1.11 +
    1.12 +Note
    1.13 +
    1.14 +This library differs from the documented Python API for tzinfo implementations;
    1.15 +if you want to create local wallclock times you need to use the localize()
    1.16 +method documented in this document.
    1.17 +In addition, if you perform date arithmetic on local times that cross DST
    1.18 +boundaries, the result may be in an incorrect timezone (ie. subtract 1 minute
    1.19 +from 2002-10-27 1:00 EST and you get 2002-10-27 0:59 EST instead of the
    1.20 +correct 2002-10-27 1:59 EDT).
    1.21 +A normalize() method is provided to correct this.
    1.22 +Unfortunately these issues cannot be resolved without modifying the Python
    1.23 +datetime implementation (see PEP-431).