[Checkins] SVN: DateTime/trunk/src/DateTime/ Fix spelling of EDT mapping.

Tres Seaver tseaver at palladion.com
Fri Jul 9 16:56:18 EDT 2010


Log message for revision 114444:
  Fix spelling of EDT mapping.

Changed:
  U   DateTime/trunk/src/DateTime/pytz_support.py
  U   DateTime/trunk/src/DateTime/tests/testDateTime.py

-=-
Modified: DateTime/trunk/src/DateTime/pytz_support.py
===================================================================
--- DateTime/trunk/src/DateTime/pytz_support.py	2010-07-09 20:55:24 UTC (rev 114443)
+++ DateTime/trunk/src/DateTime/pytz_support.py	2010-07-09 20:56:18 UTC (rev 114444)
@@ -84,7 +84,7 @@
 # These are the timezones not in pytz.common_timezones
 _old_zlst = [
 
-'AST',  'AT',  'BST',  'BT',  'CCT', 'EDT',
+'AST',  'AT',  'BST',  'BT',  'CCT',
 'CET',  'CST',  'Cuba',  'EADT',  'EAST',
 'EEST',  'EET',  'EST',  'Egypt',  'FST',
 'FWT',  'GB-Eire',  'GMT+0100',  'GMT+0130',  'GMT+0200',
@@ -186,7 +186,7 @@
 'bt':'GMT+3', 'zp4':'GMT+4', 'zp5':'GMT+5', 'zp6':'GMT+6',
 'wast':'GMT+7', 'cct':'GMT+8', 'jst':'GMT+9', 'east':'GMT+10',
 'gst':'GMT+10', 'nzt':'GMT+12', 'nzst':'GMT+12', 'idle':'GMT+12',
-'ret':'GMT+4', 'ist': 'GMT+0530', 'edt' : 'GMT-0400'
+'ret':'GMT+4', 'ist': 'GMT+0530', 'edt' : 'GMT-4'
 
 }
 

Modified: DateTime/trunk/src/DateTime/tests/testDateTime.py
===================================================================
--- DateTime/trunk/src/DateTime/tests/testDateTime.py	2010-07-09 20:55:24 UTC (rev 114443)
+++ DateTime/trunk/src/DateTime/tests/testDateTime.py	2010-07-09 20:56:18 UTC (rev 114444)
@@ -653,7 +653,7 @@
         self.assertEqual(dt.Day(), 'Monday')
         self.assertEqual(dt.day(), 28)
         self.assertEqual(dt.Month(), 'June')
-        self.assertEqual(dt.timezone(), 'GMT-0400')
+        self.assertEqual(dt.timezone(), 'GMT-4')
 
 def test_suite():
     import doctest



More information about the checkins mailing list