Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
17feca0e
Commit
17feca0e
authored
Apr 24, 2012
by
Sandro Tosi
Browse files
Options
Browse Files
Download
Plain Diff
Issue #14448: merge with 3.2
parents
f4095837
d11d0d63
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Doc/library/datetime.rst
Doc/library/datetime.rst
+9
-1
No files found.
Doc/library/datetime.rst
View file @
17feca0e
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment