summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-21 09:58:36 (GMT)
committerGeorg Brandl <georg@python.org>2010-03-21 09:58:36 (GMT)
commitce00cf2ce72bf4e5cef5eed3d56865f726d98e36 (patch)
tree37ea9c96ad76303da203f9ea0c527f186e7d89be /Doc/library
parentf23f0a2c7ce25890352f7a5a4ec2b5bfd63e4b44 (diff)
downloadcpython-ce00cf2ce72bf4e5cef5eed3d56865f726d98e36.zip
cpython-ce00cf2ce72bf4e5cef5eed3d56865f726d98e36.tar.gz
cpython-ce00cf2ce72bf4e5cef5eed3d56865f726d98e36.tar.bz2
Update text for newest US DST regulation. The sample file already has the calculation right.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/datetime.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index 44c1cde..16429de 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1457,8 +1457,8 @@ Example :class:`tzinfo` classes:
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
-minute after 1:59 (EST) on the first Sunday in April, and ends the minute after
-1:59 (EDT) on the last Sunday in October::
+minute after 1:59 (EST) on the second Sunday in March, and ends the minute after
+1:59 (EDT) on the first Sunday in November::
UTC 3:MM 4:MM 5:MM 6:MM 7:MM 8:MM
EST 22:MM 23:MM 0:MM 1:MM 2:MM 3:MM