diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-24 17:46:29 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-24 17:46:29 (GMT) |
commit | 17feca0efc1bb49925f798a7de8eb164f5bdc98b (patch) | |
tree | 6e4537e9647ebffeb5020c8d12a3d215b7eb1d5c /Doc | |
parent | f4095837a7a2b2e52e7879ad0a1b02ccaeed3384 (diff) | |
parent | d11d0d6343b16f526c57ffd148a89548e0c6d681 (diff) | |
download | cpython-17feca0efc1bb49925f798a7de8eb164f5bdc98b.zip cpython-17feca0efc1bb49925f798a7de8eb164f5bdc98b.tar.gz cpython-17feca0efc1bb49925f798a7de8eb164f5bdc98b.tar.bz2 |
Issue #14448: merge with 3.2
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/datetime.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst index 401a647..27197b8 100644 --- a/Doc/library/datetime.rst +++ b/Doc/library/datetime.rst @@ -1557,7 +1557,6 @@ Example :class:`tzinfo` classes: .. literalinclude:: ../includes/tzinfo-examples.py - Note that there are unavoidable subtleties twice per year in a :class:`tzinfo` subclass accounting for both standard and daylight time, at the DST transition points. For concreteness, consider US Eastern (UTC -0500), where EDT begins the @@ -1597,6 +1596,15 @@ Applications that can't bear such ambiguities should avoid using hybrid or any other fixed-offset :class:`tzinfo` subclass (such as a class representing only EST (fixed offset -5 hours), or only EDT (fixed offset -4 hours)). +.. seealso:: + + `pytz <http://pypi.python.org/pypi/pytz/>`_ + The Standard Library has no :class:`tzinfo` instances except for UTC, but + it exists a third-party library which brings Olson timezone database to + Python: `pytz`. + + `pytz` contains up-to-date information and its usage is recommended. + .. _datetime-timezone: |