[Python-checkins] cpython (2.7): Issue #14448: mention pytz; patch by Andrew Svetlov

sandro.tosi python-checkins at python.org
Tue Apr 24 19:48:09 CEST 2012


http://hg.python.org/cpython/rev/e0e421133d0f
changeset:   76532:e0e421133d0f
branch:      2.7
parent:      76527:22767284de99
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Tue Apr 24 19:43:33 2012 +0200
summary:
  Issue #14448: mention pytz; patch by Andrew Svetlov

files:
  Doc/library/datetime.rst |  8 ++++++++
  1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1521,6 +1521,14 @@
 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.
 
 .. _strftime-strptime-behavior:
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list