]> granicus.if.org Git - python/commitdiff
Update text for newest US DST regulation. The sample file already has the calculatio...
authorGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:58:36 +0000 (09:58 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 21 Mar 2010 09:58:36 +0000 (09:58 +0000)
Doc/library/datetime.rst

index 44c1cde1b17a9025817d939e190b7fe2d3ad207a..16429de5b68a60d33558d3c47db1a1ebcafa4166 100644 (file)
@@ -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