Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #1 from gauthierm/master

Apply patch from Req 17626 to add missing longnames for time zones
  • Loading branch information...
commit 2a466d0c66c161cafad9155d2a80714a8d5fee14 2 parents 163a4f3 + 6bae4ac
@gauthierm gauthierm authored
Showing with 81 additions and 13 deletions.
  1. +81 −13 Date/TimeZone.php
View
94 Date/TimeZone.php
@@ -1347,7 +1347,8 @@ function getSummerTimeEndTime()
'Africa/Asmara' => array(
'offset' => 10800000,
'shortname' => 'EAT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Eastern African Time' ),
'Africa/Asmera' => array(
'offset' => 10800000,
'shortname' => 'EAT',
@@ -1665,6 +1666,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1676,6 +1679,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1687,6 +1692,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1698,6 +1705,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1709,6 +1718,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1720,6 +1731,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1731,6 +1744,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1742,6 +1757,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1753,6 +1770,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1764,6 +1783,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1775,6 +1796,8 @@ function getSummerTimeEndTime()
'offset' => -10800000,
'shortname' => 'ART',
'dstshortname' => 'ARST',
+ 'longname' => 'Argentina Time',
+ 'dstlongname' => 'Argentina Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -1803,7 +1826,8 @@ function getSummerTimeEndTime()
'America/Atikokan' => array(
'offset' => -18000000,
'shortname' => 'EST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Eastern Standard Time' ),
'America/Atka' => array(
'offset' => -36000000,
'shortname' => 'HAST',
@@ -1820,7 +1844,8 @@ function getSummerTimeEndTime()
'America/Bahia' => array(
'offset' => -10800000,
'shortname' => 'BRT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Brazil Eastern Time' ),
'America/Barbados' => array(
'offset' => -14400000,
'shortname' => 'AST',
@@ -1839,7 +1864,8 @@ function getSummerTimeEndTime()
'America/Blanc-Sablon' => array(
'offset' => -14400000,
'shortname' => 'AST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Atlantic Standard Time' ),
'America/Boa_Vista' => array(
'offset' => -14400000,
'shortname' => 'AMT',
@@ -1892,6 +1918,8 @@ function getSummerTimeEndTime()
'offset' => -14400000,
'shortname' => 'AMT',
'dstshortname' => 'AMST',
+ 'longname' => 'Amazon Standard Time',
+ 'dstlongname' => 'Amazon Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=8',
@@ -1968,7 +1996,8 @@ function getSummerTimeEndTime()
'America/Coral_Harbour' => array(
'offset' => -18000000,
'shortname' => 'EST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Eastern Standard Time' ),
'America/Cordoba' => array(
'offset' => -10800000,
'shortname' => 'ART',
@@ -2225,6 +2254,7 @@ function getSummerTimeEndTime()
'shortname' => 'EST',
'dstshortname' => 'EDT',
'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2250,6 +2280,7 @@ function getSummerTimeEndTime()
'shortname' => 'EST',
'dstshortname' => 'EDT',
'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2261,6 +2292,8 @@ function getSummerTimeEndTime()
'offset' => -18000000,
'shortname' => 'EST',
'dstshortname' => 'EDT',
+ 'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2272,6 +2305,8 @@ function getSummerTimeEndTime()
'offset' => -21600000,
'shortname' => 'CST',
'dstshortname' => 'CDT',
+ 'longname' => 'Central Standard Time',
+ 'dstlongname' => 'Central Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2284,6 +2319,7 @@ function getSummerTimeEndTime()
'shortname' => 'EST',
'dstshortname' => 'EDT',
'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2295,6 +2331,8 @@ function getSummerTimeEndTime()
'offset' => -18000000,
'shortname' => 'EST',
'dstshortname' => 'EDT',
+ 'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2306,6 +2344,8 @@ function getSummerTimeEndTime()
'offset' => -18000000,
'shortname' => 'EST',
'dstshortname' => 'EDT',
+ 'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2475,7 +2515,8 @@ function getSummerTimeEndTime()
'America/Marigot' => array(
'offset' => -14400000,
'shortname' => 'AST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Atlantic Standard Time' ),
'America/Martinique' => array(
'offset' => -14400000,
'shortname' => 'AST',
@@ -2687,6 +2728,8 @@ function getSummerTimeEndTime()
'offset' => -21600000,
'shortname' => 'CST',
'dstshortname' => 'CDT',
+ 'longname' => 'Central Standard Time',
+ 'dstlongname' => 'Central Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'Sun>=8',
@@ -2787,7 +2830,8 @@ function getSummerTimeEndTime()
'America/Resolute' => array(
'offset' => -18000000,
'shortname' => 'EST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Eastern Standard Time' ),
'America/Rio_Branco' => array(
'offset' => -18000000,
'shortname' => 'ACT',
@@ -2865,7 +2909,8 @@ function getSummerTimeEndTime()
'America/St_Barthelemy' => array(
'offset' => -14400000,
'shortname' => 'AST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Atlantic Standard Time' ),
'America/St_Johns' => array(
'offset' => -12600000,
'shortname' => 'NST',
@@ -3084,7 +3129,8 @@ function getSummerTimeEndTime()
'Antarctica/Rothera' => array(
'offset' => -10800000,
'shortname' => 'ROTT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Rothera Time' ),
'Antarctica/South_Pole' => array(
'offset' => 43200000,
'shortname' => 'NZST',
@@ -3449,7 +3495,8 @@ function getSummerTimeEndTime()
'Asia/Macau' => array(
'offset' => 28800000,
'shortname' => 'CST',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'China Standard Time' ),
'Asia/Magadan' => array(
'offset' => 39600000,
'shortname' => 'MAGT',
@@ -3466,7 +3513,8 @@ function getSummerTimeEndTime()
'Asia/Makassar' => array(
'offset' => 28800000,
'shortname' => 'CIT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Central Indonesia Time' ),
'Asia/Manila' => array(
'offset' => 28800000,
'shortname' => 'PHT',
@@ -3519,7 +3567,8 @@ function getSummerTimeEndTime()
'Asia/Oral' => array(
'offset' => 18000000,
'shortname' => 'ORAT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Oral Time' ),
'Asia/Phnom_Penh' => array(
'offset' => 25200000,
'shortname' => 'ICT',
@@ -3543,7 +3592,8 @@ function getSummerTimeEndTime()
'Asia/Qyzylorda' => array(
'offset' => 21600000,
'shortname' => 'QYZT',
- 'dstshortname' => null ),
+ 'dstshortname' => null,
+ 'longname' => 'Qyzylorda Time' ),
'Asia/Rangoon' => array(
'offset' => 23400000,
'shortname' => 'MMT',
@@ -3802,6 +3852,8 @@ function getSummerTimeEndTime()
'offset' => 0,
'shortname' => 'WET',
'dstshortname' => 'WEST',
+ 'longname' => 'Western Europe Time',
+ 'dstlongname' => 'Western Europe Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -3924,6 +3976,8 @@ function getSummerTimeEndTime()
'offset' => 36000000,
'shortname' => 'EST',
'dstshortname' => 'EST',
+ 'longname' => 'Eastern Standard Time',
+ 'dstlongname' => 'Eastern Standard Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'Sun>=1',
@@ -3940,6 +3994,8 @@ function getSummerTimeEndTime()
'offset' => 31500000,
'shortname' => 'CWST',
'dstshortname' => 'CWST',
+ 'longname' => 'Central Western Standard Time',
+ 'dstlongname' => 'Central Western Daylight Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 10,
'summertimestartday' => 'lastSun',
@@ -4729,6 +4785,8 @@ function getSummerTimeEndTime()
'offset' => 0,
'shortname' => 'GMT',
'dstshortname' => 'BST',
+ 'longname' => 'Greenwich Mean Time',
+ 'dstlongname' => 'British Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -4753,6 +4811,8 @@ function getSummerTimeEndTime()
'offset' => 0,
'shortname' => 'GMT',
'dstshortname' => 'BST',
+ 'longname' => 'Greenwich Mean Time',
+ 'dstlongname' => 'British Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -4777,6 +4837,8 @@ function getSummerTimeEndTime()
'offset' => 0,
'shortname' => 'GMT',
'dstshortname' => 'BST',
+ 'longname' => 'Greenwich Mean Time',
+ 'dstlongname' => 'British Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -4892,6 +4954,8 @@ function getSummerTimeEndTime()
'offset' => 7200000,
'shortname' => 'EET',
'dstshortname' => 'EEST',
+ 'longname' => 'Eastern European Time',
+ 'dstlongname' => 'Eastern European Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -4981,6 +5045,8 @@ function getSummerTimeEndTime()
'offset' => 3600000,
'shortname' => 'CET',
'dstshortname' => 'CEST',
+ 'longname' => 'Central European Time',
+ 'dstlongname' => 'Central European Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
@@ -5224,6 +5290,8 @@ function getSummerTimeEndTime()
'offset' => 10800000,
'shortname' => 'VOLT',
'dstshortname' => 'VOLST',
+ 'longname' => 'Volograd Time',
+ 'longname' => 'Volograd Summer Time',
'summertimeoffset' => 3600000,
'summertimestartmonth' => 3,
'summertimestartday' => 'lastSun',
Please sign in to comment.
Something went wrong with that request. Please try again.