[Python-checkins] r53247 - sandbox/trunk/datetime/US.py

guido.van.rossum python-checkins at python.org
Thu Jan 4 20:13:45 CET 2007


Author: guido.van.rossum
Date: Thu Jan  4 20:13:45 2007
New Revision: 53247

Modified:
   sandbox/trunk/datetime/US.py
Log:
Add an XXX comment warning that US DST is changing per 2007.


Modified: sandbox/trunk/datetime/US.py
==============================================================================
--- sandbox/trunk/datetime/US.py	(original)
+++ sandbox/trunk/datetime/US.py	Thu Jan  4 20:13:45 2007
@@ -8,6 +8,9 @@
 
 class USTimeZone(tzinfo):
     "A class capturing the current (2002) rules for United States time zones."
+    # XXX Note that in 2007 the rules are changing:
+    # XXX 2nd Sunday in March, 1st Sunday in November.
+    # XXX Anybody want to volunteer a fix for this code?
 
     # A seemingly intractable problem:  when DST ends, there's a one-hour
     # slice that repeats in "naive time".  That is, when the naive clock


More information about the Python-checkins mailing list