Subject: | Windows Test Failures |
Microsoft updated time zones on Windows in February. See:
http://support.microsoft.com/KB/979306
This added four new time zones, which caused test failures on Windows.
In addition, there were other zones that were updated by Microsoft,
which were currently pointing to the wrong cities, which in some cases,
would lead to incorrect time conversions. These are corrected.
I've attached a patch with these proposed changes.
Subject: | datetime.patch |
Index: site/lib/DateTime/TimeZone/Local/Win32.pm
===================================================================
--- site/lib/DateTime/TimeZone/Local/Win32.pm (revision 10311)
+++ site/lib/DateTime/TimeZone/Local/Win32.pm (working copy)
@@ -38,6 +38,7 @@
'Azores Standard Time' => 'Atlantic/Azores',
'Bangkok' => 'Asia/Bangkok',
'Bangkok Standard Time' => 'Asia/Bangkok',
+ 'Bangladesh Standard Time' => 'Asia/Dhaka',
'Beijing' => 'Asia/Shanghai',
'Canada Central' => 'America/Regina',
'Canada Central Standard Time' => 'America/Regina',
@@ -48,9 +49,9 @@
'Cen. Australia Standard Time' => 'Australia/Adelaide',
'Central' => 'America/Chicago',
'Central America Standard Time' => 'America/Regina',
- 'Central Asia' => 'Asia/Dhaka',
- 'Central Asia Standard Time' => 'Asia/Dhaka',
- 'Central Brazilian Standard Time' => 'America/Manaus',
+ 'Central Asia' => 'Asia/Almaty',
+ 'Central Asia Standard Time' => 'Asia/Almaty',
+ 'Central Brazilian Standard Time' => 'America/Cuiaba',
'Central Europe' => 'Europe/Prague',
'Central Europe Standard Time' => 'Europe/Prague',
'Central European' => 'Europe/Belgrade',
@@ -137,12 +138,12 @@
'Romance Standard Time' => 'Europe/Paris',
'Russian' => 'Europe/Moscow',
'Russian Standard Time' => 'Europe/Moscow',
- 'SA Eastern' => 'America/Buenos_Aires',
- 'SA Eastern Standard Time' => 'America/Buenos_Aires',
+ 'SA Eastern' => 'America/Cayenne',
+ 'SA Eastern Standard Time' => 'America/Cayenne',
'SA Pacific' => 'America/Bogota',
'SA Pacific Standard Time' => 'America/Bogota',
- 'SA Western' => 'America/Caracas',
- 'SA Western Standard Time' => 'America/Caracas',
+ 'SA Western' => 'America/Guyana',
+ 'SA Western Standard Time' => 'America/Guyana',
'Samoa' => 'Pacific/Apia',
'Samoa Standard Time' => 'Pacific/Apia',
'Saudi Arabia' => 'Asia/Riyadh',
@@ -169,6 +170,9 @@
'US Mountain' => 'America/Phoenix',
'US Mountain Standard Time' => 'America/Phoenix',
'UTC' => 'UTC',
+ 'UTC+12' => '+1200',
+ 'UTC-02' => '-0200',
+ 'UTC-11' => '-1100',
'Venezuela Standard Time' => 'America/Caracas',
'Vladivostok' => 'Asia/Vladivostok',
'Vladivostok Standard Time' => 'Asia/Vladivostok',