php-bc.php 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. <?php
  2. /**
  3. * A list of additional PHP timezones that are returned by
  4. * DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC)
  5. * valid for new DateTimeZone()
  6. *
  7. * This list does not include those timezone identifiers that we have to map to
  8. * a different identifier for some PHP versions (see php-workaround.php).
  9. *
  10. * Instead of using DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC)
  11. * directly, we use this file because DateTimeZone::ALL_WITH_BC is not properly
  12. * supported by all PHP version and HHVM.
  13. *
  14. * @copyright Copyright (C) fruux GmbH (https://fruux.com/)
  15. * @license http://sabre.io/license/ Modified BSD License
  16. */
  17. return array(
  18. 'Africa/Asmera',
  19. 'Africa/Timbuktu',
  20. 'America/Argentina/ComodRivadavia',
  21. 'America/Atka',
  22. 'America/Buenos_Aires',
  23. 'America/Catamarca',
  24. 'America/Coral_Harbour',
  25. 'America/Cordoba',
  26. 'America/Ensenada',
  27. 'America/Fort_Wayne',
  28. 'America/Indianapolis',
  29. 'America/Jujuy',
  30. 'America/Knox_IN',
  31. 'America/Louisville',
  32. 'America/Mendoza',
  33. 'America/Montreal',
  34. 'America/Porto_Acre',
  35. 'America/Rosario',
  36. 'America/Shiprock',
  37. 'America/Virgin',
  38. 'Antarctica/South_Pole',
  39. 'Asia/Ashkhabad',
  40. 'Asia/Calcutta',
  41. 'Asia/Chungking',
  42. 'Asia/Dacca',
  43. 'Asia/Istanbul',
  44. 'Asia/Katmandu',
  45. 'Asia/Macao',
  46. 'Asia/Saigon',
  47. 'Asia/Tel_Aviv',
  48. 'Asia/Thimbu',
  49. 'Asia/Ujung_Pandang',
  50. 'Asia/Ulan_Bator',
  51. 'Atlantic/Faeroe',
  52. 'Atlantic/Jan_Mayen',
  53. 'Australia/ACT',
  54. 'Australia/Canberra',
  55. 'Australia/LHI',
  56. 'Australia/North',
  57. 'Australia/NSW',
  58. 'Australia/Queensland',
  59. 'Australia/South',
  60. 'Australia/Tasmania',
  61. 'Australia/Victoria',
  62. 'Australia/West',
  63. 'Australia/Yancowinna',
  64. 'Brazil/Acre',
  65. 'Brazil/DeNoronha',
  66. 'Brazil/East',
  67. 'Brazil/West',
  68. 'Canada/Atlantic',
  69. 'Canada/Central',
  70. 'Canada/East-Saskatchewan',
  71. 'Canada/Eastern',
  72. 'Canada/Mountain',
  73. 'Canada/Newfoundland',
  74. 'Canada/Pacific',
  75. 'Canada/Saskatchewan',
  76. 'Canada/Yukon',
  77. 'CET',
  78. 'Chile/Continental',
  79. 'Chile/EasterIsland',
  80. 'EET',
  81. 'EST',
  82. 'Etc/GMT',
  83. 'Etc/GMT+0',
  84. 'Etc/GMT+1',
  85. 'Etc/GMT+10',
  86. 'Etc/GMT+11',
  87. 'Etc/GMT+12',
  88. 'Etc/GMT+2',
  89. 'Etc/GMT+3',
  90. 'Etc/GMT+4',
  91. 'Etc/GMT+5',
  92. 'Etc/GMT+6',
  93. 'Etc/GMT+7',
  94. 'Etc/GMT+8',
  95. 'Etc/GMT+9',
  96. 'Etc/GMT-0',
  97. 'Etc/GMT-1',
  98. 'Etc/GMT-10',
  99. 'Etc/GMT-11',
  100. 'Etc/GMT-12',
  101. 'Etc/GMT-13',
  102. 'Etc/GMT-14',
  103. 'Etc/GMT-2',
  104. 'Etc/GMT-3',
  105. 'Etc/GMT-4',
  106. 'Etc/GMT-5',
  107. 'Etc/GMT-6',
  108. 'Etc/GMT-7',
  109. 'Etc/GMT-8',
  110. 'Etc/GMT-9',
  111. 'Etc/GMT0',
  112. 'Etc/Greenwich',
  113. 'Etc/UCT',
  114. 'Etc/Universal',
  115. 'Etc/UTC',
  116. 'Etc/Zulu',
  117. 'Europe/Belfast',
  118. 'Europe/Nicosia',
  119. 'Europe/Tiraspol',
  120. 'GB',
  121. 'GMT',
  122. 'GMT+0',
  123. 'GMT-0',
  124. 'HST',
  125. 'MET',
  126. 'Mexico/BajaNorte',
  127. 'Mexico/BajaSur',
  128. 'Mexico/General',
  129. 'MST',
  130. 'NZ',
  131. 'Pacific/Ponape',
  132. 'Pacific/Samoa',
  133. 'Pacific/Truk',
  134. 'Pacific/Yap',
  135. 'PRC',
  136. 'ROC',
  137. 'ROK',
  138. 'UCT',
  139. 'US/Alaska',
  140. 'US/Aleutian',
  141. 'US/Arizona',
  142. 'US/Central',
  143. 'US/East-Indiana',
  144. 'US/Eastern',
  145. 'US/Hawaii',
  146. 'US/Indiana-Starke',
  147. 'US/Michigan',
  148. 'US/Mountain',
  149. 'US/Pacific',
  150. 'US/Pacific-New',
  151. 'US/Samoa',
  152. 'WET',
  153. );