Source for file standard.php

Documentation is available at standard.php

  1. <?php
  2.  
  3. /**
  4.  * SquirrelMail time zone library
  5.  *
  6.  * Used ftp://elsie.nci.nih.gov/pub/tzdata2005j.tar.gz as reference
  7.  *
  8.  * Time zone array must consist of key name that matches time zone name in
  9.  * GNU C library and 'LINK', 'NAME' and 'TZ' subkeys. 'LINK' subkey is used
  10.  * to define time zone aliases ('Link some/name other/name' in GNU C). It
  11.  * should link to other time zone array entry with 'NAME' and 'TZ' subkeys.
  12.  * Linking to 'LINK' entries will cause errors in time zone library checks.
  13.  * 'NAME' key should store translatable time zone name. 'TZ' key should store
  14.  * time zone name that will be used in TZ environment variable. Array entries
  15.  * can use 'LINK' or 'TZ' subkeys. 'LINK' and 'TZ' subkeys should not be used
  16.  * in same array key. 'NAME' subkeys are optional and used only in display
  17.  * of 'TZ' key entries.
  18.  *
  19.  * @link ftp://elsie.nci.nih.gov/pub/ GNU C time zone implementation
  20.  * @link some source of POSIX TZ names
  21.  * @copyright 2005-2014 The SquirrelMail Project Team
  22.  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  23.  * @version $Id: standard.php 14420 2014-01-01 20:33:20Z pdontthink $
  24.  * @package squirrelmail
  25.  * @subpackage timezones
  26.  */
  27.  
  28. /**
  29.  * Standard timezone array.
  30.  *
  31.  * TZ subkeys must be updated if some government decides to change timezone.
  32.  *
  33.  * Generic abbreviations:
  34.  * <ul>
  35.  *  <li>GMT - Greenwich Mean Time
  36.  *  <li>UTC - Coordinated Universal Time
  37.  *  <li>UCT - Universal Coordinate Time
  38.  * </ul>
  39.  * 
  40.  * Array is not globalized in order to save memory. Used array is extracted
  41.  * with sq_get_tz_array(). Array is loaded only when strict time zone is set
  42.  * or personal information option page is loaded. 'timezones' gettext domain
  43.  * must be set before loading this array.
  44.  * @global array $aTimeZones 
  45.  */
  46. $aTimeZones=array();
  47.  
  48. /** Africa **/
  49. $aTimeZones['Africa/Algiers']['NAME']='Algeria';
  50. $aTimeZones['Africa/Algiers']['TZ']='CET';
  51. $aTimeZones['Africa/Luanda']['NAME']='Angola';
  52. $aTimeZones['Africa/Luanda']['TZ']='UCT-1';
  53. $aTimeZones['Africa/Porto-Novo']['NAME']='Benin';
  54. $aTimeZones['Africa/Porto-Novo']['TZ']='UCT-1';
  55. $aTimeZones['Africa/Gaborone']['NAME']='Botswana';
  56. $aTimeZones['Africa/Gaborone']['TZ']='UCT-2';
  57. $aTimeZones['Africa/Ouagadougou']['NAME']='Burkina Faso';
  58. $aTimeZones['Africa/Ouagadougou']['TZ']='GMT';
  59. $aTimeZones['Africa/Bujumbura']['NAME']='Burundi';
  60. $aTimeZones['Africa/Bujumbura']['TZ']='UCT-2';
  61. $aTimeZones['Africa/Douala']['NAME']='Cameroon';
  62. $aTimeZones['Africa/Douala']['TZ']='UCT-1';
  63. $aTimeZones['Atlantic/Cape_Verde']['NAME']='Cape Verde';
  64. $aTimeZones['Atlantic/Cape_Verde']['TZ']='UCT1';
  65. $aTimeZones['Africa/Bangui']['NAME']='Central African Republic';
  66. $aTimeZones['Africa/Bangui']['TZ']='UCT-1';
  67. $aTimeZones['Africa/Ndjamena']['NAME']='Chad';
  68. $aTimeZones['Africa/Ndjamena']['TZ']='UCT-1';
  69. $aTimeZones['Indian/Comoro']['NAME']='Comoros';
  70. $aTimeZones['Indian/Comoro']['TZ']='UCT-3';
  71. $aTimeZones['Africa/Kinshasa']['NAME']='Democratic Republic of Congo, Kinshasa';
  72. $aTimeZones['Africa/Kinshasa']['TZ']='UCT-1';
  73. $aTimeZones['Africa/Lubumbashi']['NAME']='Democratic Republic of Congo';
  74. $aTimeZones['Africa/Lubumbashi']['TZ']='UCT-2';
  75. $aTimeZones['Africa/Brazzaville']['NAME']='Republic of the Congo';
  76. $aTimeZones['Africa/Brazzaville']['TZ']='UCT-1';
  77. $aTimeZones['Africa/Abidjan']['NAME']='Cote D\'Ivoire';
  78. $aTimeZones['Africa/Abidjan']['TZ']='GMT';
  79. $aTimeZones['Africa/Djibouti']['NAME']='Djibouti';
  80. $aTimeZones['Africa/Djibouti']['TZ']='UCT-3';
  81.  
  82. // Daylight savings between Apr lastFri 0:00 and Sep lastThu 23:00 (+1)
  83. $aTimeZones['Africa/Cairo']['NAME']='Egypt';
  84. $aTimeZones['Africa/Cairo']['TZ']='EST-2EDT';
  85.  
  86. $aTimeZones['Africa/Malabo']['NAME']='Equatorial Guinea';
  87. $aTimeZones['Africa/Malabo']['TZ']='UCT-1';
  88. $aTimeZones['Africa/Asmera']['NAME']='Eritrea';
  89. $aTimeZones['Africa/Asmera']['TZ']='UCT-3';
  90. $aTimeZones['Africa/Addis_Ababa']['NAME']='Ethiopia';
  91. $aTimeZones['Africa/Addis_Ababa']['TZ']='UCT-3';
  92. $aTimeZones['Africa/Libreville']['NAME']='Gabon';
  93. $aTimeZones['Africa/Libreville']['TZ']='UCT-1';
  94. $aTimeZones['Africa/Banjul']['NAME']='Gambia';
  95. $aTimeZones['Africa/Banjul']['TZ']='GMT';
  96. $aTimeZones['Africa/Accra']['NAME']='Ghana';
  97. $aTimeZones['Africa/Accra']['TZ']='UCT';
  98. $aTimeZones['Africa/Conakry']['NAME']='Guinea';
  99. $aTimeZones['Africa/Conakry']['TZ']='GMT';
  100. $aTimeZones['Africa/Bissau']['NAME']='Guinea-Bissau';
  101. $aTimeZones['Africa/Bissau']['TZ']='GMT';
  102. $aTimeZones['Africa/Nairobi']['NAME']='Kenya';
  103. $aTimeZones['Africa/Nairobi']['TZ']='UCT-3';
  104. $aTimeZones['Africa/Maseru']['NAME']='Lesotho';
  105. $aTimeZones['Africa/Maseru']['TZ']='UCT-2';
  106. $aTimeZones['Africa/Monrovia']['NAME']='Liberia';
  107. $aTimeZones['Africa/Monrovia']['TZ']='GMT';
  108. $aTimeZones['Africa/Tripoli']['NAME']='Libya';
  109. $aTimeZones['Africa/Tripoli']['TZ']='UCT-2';
  110. $aTimeZones['Indian/Antananarivo']['NAME']='Madagascar';
  111. $aTimeZones['Indian/Antananarivo']['TZ']='UCT-3';
  112. $aTimeZones['Africa/Blantyre']['NAME']='Malawi';
  113. $aTimeZones['Africa/Blantyre']['TZ']='UCT-2';
  114. $aTimeZones['Africa/Bamako']['NAME']='Mali';
  115. $aTimeZones['Africa/Bamako']['TZ']='GMT';
  116. $aTimeZones['Africa/Timbuktu']['NAME']='Mali, Timbuktu';
  117. $aTimeZones['Africa/Timbuktu']['TZ']='GMT';
  118. $aTimeZones['Africa/Nouakchott']['NAME']='Mauritania';
  119. $aTimeZones['Africa/Nouakchott']['TZ']='GMT';
  120. $aTimeZones['Indian/Mauritius']['NAME']='Mauritius';
  121. $aTimeZones['Indian/Mauritius']['TZ']='UCT-4';
  122. $aTimeZones['Indian/Mayotte']['NAME']='Mayotte';
  123. $aTimeZones['Indian/Mayotte']['TZ']='UCT-3';
  124. $aTimeZones['Africa/Casablanca']['NAME']='Morocco';
  125. $aTimeZones['Africa/Casablanca']['TZ']='UCT';
  126. $aTimeZones['Africa/El_Aaiun']['NAME']='Western Sahara';
  127. $aTimeZones['Africa/El_Aaiun']['TZ']='UCT';
  128. $aTimeZones['Africa/Maputo']['NAME']='Mozambique';
  129. $aTimeZones['Africa/Maputo']['TZ']='UCT-2';
  130.  
  131. // Daylight savings from Sep Sun>=1 2:00 to Apr Sun>=1 2:00 (+1)
  132. $aTimeZones['Africa/Windhoek']['NAME']='Namibia';
  133. $aTimeZones['Africa/Windhoek']['TZ']='UCT-2';
  134.  
  135. $aTimeZones['Africa/Niamey']['NAME']='Niger';
  136. $aTimeZones['Africa/Niamey']['TZ']='UCT-1';
  137. $aTimeZones['Africa/Lagos']['NAME']='Nigeria';
  138. $aTimeZones['Africa/Lagos']['TZ']='UCT-1';
  139.  
  140. // Island in Indian ocean
  141. $aTimeZones['Indian/Reunion']['NAME']='Reunion';
  142. $aTimeZones['Indian/Reunion']['TZ']='UCT-4';
  143.  
  144. $aTimeZones['Africa/Kigali']['NAME']='Rwanda';
  145. $aTimeZones['Africa/Kigali']['TZ']='UCT-2';
  146. $aTimeZones['Atlantic/St_Helena']['NAME']='St.Helena';
  147. $aTimeZones['Atlantic/St_Helena']['TZ']='GMT';
  148. $aTimeZones['Africa/Sao_Tome']['NAME']='Sao Tome and Principe';
  149. $aTimeZones['Africa/Sao_Tome']['TZ']='GMT';
  150. $aTimeZones['Africa/Dakar']['NAME']='Senegal';
  151. $aTimeZones['Africa/Dakar']['TZ']='GMT';
  152. $aTimeZones['Indian/Mahe']['NAME']='Seychelles';
  153. $aTimeZones['Indian/Mahe']['TZ']='UCT-4';
  154. $aTimeZones['Africa/Freetown']['NAME']='Sierra Leone';
  155. $aTimeZones['Africa/Freetown']['TZ']='UCT';
  156. $aTimeZones['Africa/Mogadishu']['NAME']='Somalia';
  157. $aTimeZones['Africa/Mogadishu']['TZ']='UCT-3';
  158. $aTimeZones['Africa/Johannesburg']['NAME']='South Africa';
  159. $aTimeZones['Africa/Johannesburg']['TZ']='SAST-2';
  160. $aTimeZones['Africa/Khartoum']['NAME']='Sudan';
  161. $aTimeZones['Africa/Khartoum']['TZ']='UCT-3';
  162. $aTimeZones['Africa/Mbabane']['NAME']='Swaziland';
  163. $aTimeZones['Africa/Mbabane']['TZ']='UCT-2';
  164. $aTimeZones['Africa/Dar_es_Salaam']['NAME']='Tanzania';
  165. $aTimeZones['Africa/Dar_es_Salaam']['TZ']='UCT-3';
  166. $aTimeZones['Africa/Lome']['NAME']='Togo';
  167. $aTimeZones['Africa/Lome']['TZ']='GMT';
  168. $aTimeZones['Africa/Tunis']['NAME']='Tunisia';
  169. $aTimeZones['Africa/Tunis']['TZ']='UCT-1';
  170. $aTimeZones['Africa/Kampala']['NAME']='Uganda';
  171. $aTimeZones['Africa/Kampala']['TZ']='UCT-3';
  172. $aTimeZones['Africa/Lusaka']['NAME']='Zambia';
  173. $aTimeZones['Africa/Lusaka']['TZ']='UCT-2';
  174. $aTimeZones['Africa/Harare']['NAME']='Zimbabwe';
  175. $aTimeZones['Africa/Harare']['TZ']='UCT-2';
  176.  
  177. /** do we have squirrels in Antarctica */
  178. $aTimeZones['Antarctica/Casey']['NAME']='Antarctica, Casey';
  179. $aTimeZones['Antarctica/Casey']['TZ']='WST'// (GMT+8) Western (Aus) Standard Time
  180. $aTimeZones['Antarctica/Davis']['NAME']='Antarctica, Davis';
  181. $aTimeZones['Antarctica/Davis']['TZ']='DAVT'// (GMT+7) Davis Time
  182. $aTimeZones['Antarctica/Mawson']['NAME']='Antarctica, Mawson';
  183. $aTimeZones['Antarctica/Mawson']['TZ']='MAWT'// (GMT+6) Mawson Time
  184. $aTimeZones['Indian/Kerguelen']['NAME']='Antarctica, Kerquelen Island';
  185. $aTimeZones['Indian/Kerguelen']['TZ']='TFT'// (GMT+5) ISO code TF Time
  186. $aTimeZones['Antarctica/DumontDUrville']['NAME']="Antarctica, Dumont-d'Urville";
  187. $aTimeZones['Antarctica/DumontDUrville']['TZ']='DDUT'// (GMT+10) Dumont-d'Urville Time
  188. $aTimeZones['Antarctica/Syowa']['NAME']='Antarctica, Syowa';
  189. $aTimeZones['Antarctica/Syowa']['TZ']='SYOT'// (GMT+0300) Syowa Time
  190. $aTimeZones['Antarctica/Vostok']['NAME']='Antarctica, Vostok';
  191. $aTimeZones['Antarctica/Vostok']['TZ']='UTC+6'// (GMT+6) VOST Vostok time
  192. $aTimeZones['Antarctica/Rothera']['NAME']='Antarctica, Rothera';
  193. $aTimeZones['Antarctica/Rothera']['TZ']='ROTT'// (GMT-3) Rothera time
  194. // ChileAQ daylight saving rules
  195. // 1999    max     -       Oct     Sun>=9  0:00    1:00    S
  196. // 2000    max     -       Mar     Sun>=9  0:00    0       -
  197. $aTimeZones['Antarctica/Palmer']['NAME']='Antarctica, Palmer';
  198. $aTimeZones['Antarctica/Palmer']['TZ']='CLT'// (GMT-4)
  199. // NZAQ daylight saving rules
  200. // 1990    max     -       Oct     Sun>=1  2:00s   1:00    D
  201. // 1990    max     -       Mar     Sun>=15 2:00s   0       S
  202. $aTimeZones['Antarctica/McMurdo']['NAME']='Antarctica, McMurdo';
  203. $aTimeZones['Antarctica/McMurdo']['TZ']='NZT'// (GMT+12)
  204. // same as McMurdo
  205. $aTimeZones['Antarctica/South_Pole']['NAME']='Antarctica, South Pole';
  206. $aTimeZones['Antarctica/South_Pole']['TZ']='NZT';
  207.  
  208. /** Asia **/
  209. $aTimeZones['Asia/Kabul']['NAME']='Afghanistan';
  210. $aTimeZones['Asia/Kabul']['TZ']='UCT-4:30';
  211. // RussiaAsia daylight saving rules
  212. $aTimeZones['Asia/Yerevan']['NAME']='Armenia';
  213. $aTimeZones['Asia/Yerevan']['TZ']='UCT-4';
  214. // Azer daylight saving rules
  215. // 1997    max     -       Mar     lastSun  1:00   1:00    S
  216. // 1997    max     -       Oct     lastSun  1:00   0       -
  217. $aTimeZones['Asia/Baku']['NAME']='Azerbaijan';
  218. $aTimeZones['Asia/Baku']['TZ']='UCT-3';
  219.  
  220. $aTimeZones['Asia/Bahrain']['NAME']='Bahrain';
  221. $aTimeZones['Asia/Bahrain']['TZ']='UCT-3';
  222.  
  223. $aTimeZones['Asia/Dhaka']['NAME']='Bangladesh';
  224. $aTimeZones['Asia/Dhaka']['TZ']='UCT-6';
  225.  
  226. $aTimeZones['Asia/Thimphu']['NAME']='Bhutan';
  227. $aTimeZones['Asia/Thimphu']['TZ']='UCT-6';
  228.  
  229. $aTimeZones['Indian/Chagos']['NAME']='British Indian Ocean Territory';
  230. $aTimeZones['Indian/Chagos']['TZ']='UCT-6';
  231.  
  232. $aTimeZones['Asia/Brunei']['NAME']='Brunei';
  233. $aTimeZones['Asia/Brunei']['TZ']='UCT-8';
  234.  
  235. // Burma
  236. $aTimeZones['Asia/Rangoon']['NAME']='Myanmar';
  237. $aTimeZones['Asia/Rangoon']['TZ']='UCT-6:30';
  238.  
  239. $aTimeZones['Asia/Phnom_Penh']['NAME']='Cambodia';
  240. $aTimeZones['Asia/Phnom_Penh']['TZ']='UCT-7';
  241.  
  242. // China (PRC) - one timezone to rule them all
  243. //  Changbai Time (Long-white Time)
  244. $aTimeZones['Asia/Harbin']['NAME']='China, Changbai Time';
  245. $aTimeZones['Asia/Harbin']['TZ']='UCT-8';
  246. //  Zhongyuan Time (Central plain Time)
  247. $aTimeZones['Asia/Shanghai']['NAME']='China, Zhongyuan Time';
  248. $aTimeZones['Asia/Shanghai']['TZ']='UCT-8';
  249. //  Long-shu Time
  250. $aTimeZones['Asia/Chongqing']['NAME']='China, Long-shu Time';
  251. $aTimeZones['Asia/Chongqing']['TZ']='UCT-8';
  252. //  Xin-zang Time (Xinjiang-Tibet Time)
  253. $aTimeZones['Asia/Urumqi']['NAME']='China, Xin-zang Time';
  254. $aTimeZones['Asia/Urumqi']['TZ']='UCT-8';
  255. //  Kunlun Time
  256. $aTimeZones['Asia/Kashgar']['NAME']='China, Kunlun Time';
  257. $aTimeZones['Asia/Kashgar']['TZ']='UCT-8';
  258.  
  259. $aTimeZones['Asia/Hong_Kong']['NAME']='Hong Kong';
  260. $aTimeZones['Asia/Hong_Kong']['TZ']='UCT-8';
  261.  
  262. $aTimeZones['Asia/Taipei']['NAME']='Taiwan';
  263. $aTimeZones['Asia/Taipei']['TZ']='UCT-8';
  264.  
  265. $aTimeZones['Asia/Macau']['NAME']='Macau';
  266. $aTimeZones['Asia/Macau']['TZ']='UCT-8';
  267. // EUAsia daylight saving rules
  268. $aTimeZones['Asia/Nicosia']['NAME']='Cyprus';
  269. $aTimeZones['Asia/Nicosia']['TZ']='EET-2EETDST';
  270. $aTimeZones['Europe/Nicosia']['LINK']='Asia/Nicosia'
  271.  
  272. // RussiaAsia daylight saving rules
  273. $aTimeZones['Asia/Tbilisi']['NAME']='Georgia';
  274. $aTimeZones['Asia/Tbilisi']['TZ']='UCT-3';
  275.  
  276. $aTimeZones['Asia/Dili']['NAME']='East Timor';
  277. $aTimeZones['Asia/Dili']['TZ']='UCT-9';
  278.  
  279. $aTimeZones['Asia/Calcutta']['NAME']='India';
  280. $aTimeZones['Asia/Calcutta']['TZ']='UCT-5:30';
  281.  
  282. $aTimeZones['Asia/Jakarta']['NAME']='Indonesia';
  283. $aTimeZones['Asia/Jakarta']['TZ']='UCT-7';
  284. $aTimeZones['Asia/Pontianak']['NAME']='Indonesia, Kalimantan';
  285. $aTimeZones['Asia/Pontianak']['TZ']='UCT-7';
  286. $aTimeZones['Asia/Makassar']['NAME']='Indonesia, Sulavesi';
  287. $aTimeZones['Asia/Makassar']['TZ']='UCT-8';
  288. $aTimeZones['Asia/Jayapura']['NAME']='Indonesia, New Guinea';
  289. $aTimeZones['Asia/Jayapura']['TZ']='UCT-9';
  290.  
  291. // Persian daylight savings.
  292. $aTimeZones['Asia/Tehran']['NAME']='Iran';
  293. $aTimeZones['Asia/Tehran']['TZ']='UCT-3:30';
  294.  
  295. // Iraq daylight saving rules
  296. // 1991    max     -       Apr      1      3:00s   1:00    D
  297. // 1991    max     -       Oct      1      3:00s   0       S
  298. $aTimeZones['Asia/Baghdad']['NAME']='Iraq';
  299. $aTimeZones['Asia/Baghdad']['TZ']='IST-3IDT';
  300.  
  301. // Zion daylight saving rules.
  302. // one of the examples, why politics and religion should be banned 
  303. // from playing with daylight savings
  304. $aTimeZones['Asia/Jerusalem']['NAME']='Israel';
  305. $aTimeZones['Asia/Jerusalem']['TZ']='IST-2IDT';
  306.  
  307. $aTimeZones['Asia/Tokyo']['NAME']='Japan';
  308. $aTimeZones['Asia/Tokyo']['TZ']='UCT-9'// JST
  309.  
  310. // Jordan daylight saving rules
  311. // 1999    max     -       Sep     lastThu 0:00s   0       -
  312. // 2000    max     -       Mar     lastThu 0:00s   1:00    S
  313. $aTimeZones['Asia/Amman']['NAME']='Jordan';
  314. $aTimeZones['Asia/Amman']['TZ']='JST-2JDT';
  315.  
  316. // Kazakhstan
  317. $aTimeZones['Asia/Almaty']['TZ']='UCT-6';
  318. $aTimeZones['Asia/Qyzylorda']['TZ']='UCT-6';
  319. $aTimeZones['Asia/Aqtobe']['TZ']='UCT-5';
  320. $aTimeZones['Asia/Aqtau']['TZ']='UCT-4';
  321. $aTimeZones['Asia/Oral']['TZ']='UCT-4';
  322.  
  323. // Kirgiz daylight saving rules
  324. // 1997    max     -       Mar     lastSun 2:30    1:00    S
  325. // 1997    max     -       Oct     lastSun 2:30    0       -
  326. $aTimeZones['Asia/Bishkek']['NAME']='Kyrgyzstan';
  327. $aTimeZones['Asia/Bishkek']['TZ']='UCT-5';
  328.  
  329. $aTimeZones['Asia/Seoul']['NAME']='Republic of Korea';
  330. $aTimeZones['Asia/Seoul']['TZ']='UCT-9';
  331. $aTimeZones['Asia/Pyongyang']['NAME']='Democratic People\'s Republic of Korea';
  332. $aTimeZones['Asia/Pyongyang']['TZ']='UCT-9';
  333.  
  334. $aTimeZones['Asia/Kuwait']['NAME']='Kuwait';
  335. $aTimeZones['Asia/Kuwait']['TZ']='UCT-3';
  336.  
  337. $aTimeZones['Asia/Vientiane']['NAME']='Laos';
  338. $aTimeZones['Asia/Vientiane']['TZ']='UCT-7';
  339.  
  340. // Lebanon daylight saving rules
  341. // 1993    max     -       Mar     lastSun 0:00    1:00    S
  342. // 1999    max     -       Oct     lastSun 0:00    0       -
  343. $aTimeZones['Asia/Beirut']['NAME']='Lebanon';
  344. $aTimeZones['Asia/Beirut']['TZ']='EUT-2EUTDST';
  345.  
  346. $aTimeZones['Asia/Kuala_Lumpur']['NAME']='Malaysia';
  347. $aTimeZones['Asia/Kuala_Lumpur']['TZ']='MST-8'// GMT+8
  348.  
  349. $aTimeZones['Asia/Kuching']['NAME']='Sabah & Sarawak';
  350. $aTimeZones['Asia/Kuching']['TZ']='MST-8'// GMT+8
  351.  
  352. $aTimeZones['Indian/Maldives']['NAME']='Maldives';
  353. $aTimeZones['Indian/Maldives']['TZ']='UCT-5';
  354.  
  355. // Mongol daylight saving rules
  356. // 2001    max     -       Sep     lastSat 2:00    0       -
  357. // 2002    max     -       Mar     lastSat 2:00    1:00    S
  358. $aTimeZones['Asia/Hovd']['TZ']='EUT-7EUTDST';
  359. $aTimeZones['Asia/Ulaanbaatar']['TZ']='EUT-8EUTDST';
  360. $aTimeZones['Asia/Choibalsan']['TZ']='EUT-9EUTDST';
  361.  
  362. $aTimeZones['Asia/Katmandu']['NAME']='Nepal';
  363. $aTimeZones['Asia/Katmandu']['TZ']='UCT-5:45';
  364.  
  365. $aTimeZones['Asia/Muscat']['NAME']='Oman';
  366. $aTimeZones['Asia/Muscat']['TZ']='UCT-4';
  367.  
  368. $aTimeZones['Asia/Karachi']['NAME']='Pakistan';
  369. $aTimeZones['Asia/Karachi']['TZ']='UCT-5';
  370.  
  371. // Palestine
  372. // 1999    max     -       Apr     Fri>=15 0:00    1:00    S
  373. // 1999    max     -       Oct     Fri>=15 0:00    0       -
  374. $aTimeZones['Asia/Gaza']['NAME']='Palestine';
  375. $aTimeZones['Asia/Gaza']['TZ']='UCT-2';
  376.  
  377. $aTimeZones['Asia/Manila']['NAME']='Philippines';
  378. $aTimeZones['Asia/Manila']['TZ']='UCT-8';
  379.  
  380. $aTimeZones['Asia/Qatar']['NAME']='Qatar';
  381. $aTimeZones['Asia/Qatar']['TZ']='UCT-3';
  382.  
  383. $aTimeZones['Asia/Riyadh']['NAME']='Saudi Arabia';
  384. $aTimeZones['Asia/Riyadh']['TZ']='UCT-3';
  385.  
  386. $aTimeZones['Asia/Singapore']['NAME']='Singapore';
  387. $aTimeZones['Asia/Singapore']['TZ']='UCT-8';
  388.  
  389. $aTimeZones['Asia/Colombo']['NAME']='Sri Lanka';
  390. $aTimeZones['Asia/Colombo']['TZ']='UCT-6';
  391.  
  392. // Syria daylight saving rules
  393. // 1994    max     -       Oct      1      0:00    0       -
  394. // 1999    max     -       Apr      1      0:00    1:00    S
  395. $aTimeZones['Asia/Damascus']['NAME']='Syria';
  396. $aTimeZones['Asia/Damascus']['TZ']='UCT-2';
  397.  
  398. $aTimeZones['Asia/Dushanbe']['NAME']='Tajikistan';
  399. $aTimeZones['Asia/Dushanbe']['TZ']='UCT-5';
  400.  
  401. $aTimeZones['Asia/Bangkok']['NAME']='Thailand';
  402. $aTimeZones['Asia/Bangkok']['TZ']='UCT-7';
  403.  
  404. $aTimeZones['Asia/Ashgabat']['NAME']='Turkmenistan';
  405. $aTimeZones['Asia/Ashgabat']['TZ']='UCT-5';
  406.  
  407. $aTimeZones['Asia/Dubai']['NAME']='United Arab Emirates';
  408. $aTimeZones['Asia/Dubai']['TZ']='UCT-4';
  409.  
  410. // Uzbekistan
  411. $aTimeZones['Asia/Samarkand']['TZ']='UCT-5';
  412. $aTimeZones['Asia/Tashkent']['TZ']='UCT-5';
  413.  
  414. $aTimeZones['Asia/Saigon']['NAME']='Vietnam';
  415. $aTimeZones['Asia/Saigon']['TZ']='UCT-7';
  416.  
  417. $aTimeZones['Asia/Aden']['NAME']='Yemen';
  418. $aTimeZones['Asia/Aden']['TZ']='UCT-3';
  419.  
  420. /** Australia, Oceania, Pacific **/
  421. // Northern Territory, Australia
  422. $aTimeZones['Australia/Darwin']['TZ']='UCT-9:30';
  423. // Western Australia
  424. $aTimeZones['Australia/Perth']['TZ']='UCT-8';
  425. // Queensland
  426. $aTimeZones['Australia/Brisbane']['TZ']='UCT-10';
  427. $aTimeZones['Australia/Lindeman']['TZ']='UCT-10';
  428. // South Australia
  429. // 1987    max     -       Oct     lastSun 2:00s   1:00    -
  430. // 1995    max     -       Mar     lastSun 2:00s   0       -
  431. $aTimeZones['Australia/Adelaide']['TZ']='CST-9:30CDT';
  432. // Tasmania
  433. // 1991    max     -       Mar     lastSun 2:00s   0       -
  434. // 2001    max     -       Oct     Sun>=1  2:00s   1:00    -
  435. $aTimeZones['Australia/Hobart']['TZ']='TST-10TDT';
  436. // Victoria
  437. // 1995    max     -       Mar     lastSun 2:00s   0       -
  438. // 2001    max     -       Oct     lastSun 2:00s   1:00    -
  439. $aTimeZones['Australia/Melbourne']['TZ']='EST-10EDT';
  440. // New South Wales
  441. // 1996    max     -       Mar     lastSun 2:00s   0       -
  442. // 2001    max     -       Oct     lastSun 2:00s   1:00    -
  443. $aTimeZones['Australia/Sydney']['TZ']='EST-10EDT';
  444. $aTimeZones['Australia/Broken_Hill']['TZ']='CST-9:30CDT';
  445. // Lord Howe Island
  446. // 1996    max     -       Mar     lastSun 2:00    0       -
  447. // 2001    max     -       Oct     lastSun 2:00    0:30    -
  448. $aTimeZones['Australia/Lord_Howe']['TZ']='LHT-10:30LHDT';
  449.  
  450. $aTimeZones['Indian/Christmas']['TZ']='UCT-7';
  451. // Cook Islands
  452. $aTimeZones['Pacific/Rarotonga']['TZ']='UCT10';
  453.  
  454. $aTimeZones['Indian/Cocos']['TZ']='UCT-6:30';
  455.  
  456. $aTimeZones['Pacific/Fiji']['TZ']='UCT-12';
  457. // French Polynesia
  458. $aTimeZones['Pacific/Gambier']['TZ']='UCT9';
  459. $aTimeZones['Pacific/Marquesas']['TZ']='UCT9:30';
  460. $aTimeZones['Pacific/Tahiti']['TZ']='UCT10';
  461. // Guam
  462. $aTimeZones['Pacific/Guam']['TZ']='UCT-10';
  463. // Kiribati
  464. $aTimeZones['Pacific/Tarawa']['TZ']='UCT-12';
  465. $aTimeZones['Pacific/Enderbury']['TZ']='UCT-13';
  466. $aTimeZones['Pacific/Kiritimati']['TZ']='UCT-14';
  467. // North Marianas
  468. $aTimeZones['Pacific/Saipan']['TZ']='UCT-10';
  469. // Marshall Islands
  470. $aTimeZones['Pacific/Majuro']['TZ']='UCT-12';
  471. $aTimeZones['Pacific/Kwajalein']['TZ']='UCT-12';
  472. // Micronesia
  473. $aTimeZones['Pacific/Yap']['TZ']='UCT-10';
  474. $aTimeZones['Pacific/Truk']['TZ']='UCT-10';
  475. $aTimeZones['Pacific/Ponape']['TZ']='UCT-11';
  476. $aTimeZones['Pacific/Kosrae']['TZ']='UCT-11';
  477. // Nauru
  478. $aTimeZones['Pacific/Nauru']['TZ']='UCT-12';
  479. // New Caledonia
  480. $aTimeZones['Pacific/Noumea']['TZ']='UCT-11';
  481. // New Zealand
  482. // NZ      1990    max     -       Oct     Sun>=1  2:00s   1:00    D
  483. // Chatham 1990    max     -       Oct     Sun>=1  2:45s   1:00    D
  484. // NZ      1990    max     -       Mar     Sun>=15 2:00s   0       S
  485. // Chatham 1990    max     -       Mar     Sun>=15 2:45s   0       S
  486. $aTimeZones['Pacific/Auckland']['TZ']='NZST-12NZDT';
  487. $aTimeZones['Pacific/Chatham']['TZ']='CIST-12:45CIDT';
  488. // Niue Islands
  489. $aTimeZones['Pacific/Niue']['TZ']='UCT11';
  490. // Norfolk
  491. $aTimeZones['Pacific/Norfolk']['TZ']='UCT-11:30';
  492. // Palau
  493. $aTimeZones['Pacific/Palau']['TZ']='UCT-9';
  494. // Papua New Guinea
  495. $aTimeZones['Pacific/Port_Moresby']['TZ']='UCT-10';
  496. // Pitcairn
  497. $aTimeZones['Pacific/Pitcairn']['TZ']='UCT8';
  498. // American Samoa
  499. $aTimeZones['Pacific/Pago_Pago']['TZ']='UCT11';
  500. // Samoa
  501. $aTimeZones['Pacific/Apia']['TZ']='UCT11';
  502. // Solomon Islands
  503. $aTimeZones['Pacific/Guadalcanal']['TZ']='UCT-11';
  504. // Tokelau Islands
  505. $aTimeZones['Pacific/Fakaofo']['TZ']='UCT10';
  506. // Tonga
  507. $aTimeZones['Pacific/Tongatapu']['TZ']='UCT-13';
  508. // Tuvalu
  509. $aTimeZones['Pacific/Funafuti']['TZ']='UCT-12';
  510. // Johnston
  511. $aTimeZones['Pacific/Johnston']['TZ']='UCT10';
  512. // Midway
  513. $aTimeZones['Pacific/Midway']['TZ']='UCT11';
  514. // Wake
  515. $aTimeZones['Pacific/Wake']['TZ']='UCT-12';
  516. // Vanuatu
  517. $aTimeZones['Pacific/Efate']['TZ']='UCT-11';
  518. // Wallis and Futuna
  519. $aTimeZones['Pacific/Wallis']['TZ']='UCT-12';
  520.  
  521. /** old timezone names (backward compatibility) **/
  522. $aTimeZones['America/Buenos_Aires']['LINK']='America/Argentina/Buenos_Aires';
  523. $aTimeZones['America/Catamarca']['LINK']='America/Argentina/Catamarca';
  524. $aTimeZones['America/Cordoba']['LINK']='America/Argentina/Cordoba'
  525. $aTimeZones['America/Jujuy']['LINK']='America/Argentina/Jujuy';
  526. $aTimeZones['America/Atka']['LINK']='America/Adak';
  527. $aTimeZones['America/Ensenada']['LINK']='America/Tijuana';
  528. $aTimeZones['America/Fort_Wayne']['LINK']='America/Indianapolis';
  529. $aTimeZones['America/Knox_IN']['LINK']='America/Indiana/Knox';
  530. $aTimeZones['America/Mendoza']['LINK']='America/Argentina/Mendoza';
  531. $aTimeZones['America/Porto_Acre']['LINK']='America/Rio_Branco';
  532. $aTimeZones['America/Rosario']['LINK']='America/Argentina/Cordoba';
  533. $aTimeZones['America/Virgin']['LINK']='America/St_Thomas';
  534. $aTimeZones['Asia/Ashkhabad']['LINK']='Asia/Ashgabat';
  535. $aTimeZones['Asia/Chungking']['LINK']='Asia/Chongqing';
  536. $aTimeZones['Asia/Dacca']['LINK']='Asia/Dhaka';
  537. $aTimeZones['Asia/Macao']['LINK']='Asia/Macau';
  538. $aTimeZones['Asia/Ujung_Pandang']['LINK']='Asia/Makassar';
  539. $aTimeZones['Asia/Tel_Aviv']['LINK']='Asia/Jerusalem';
  540. $aTimeZones['Asia/Thimbu']['LINK']='Asia/Thimphu';
  541. $aTimeZones['Asia/Ulan_Bator']['LINK']='Asia/Ulaanbaatar';
  542. $aTimeZones['Australia/ACT']['LINK']='Australia/Sydney';
  543. $aTimeZones['Australia/Canberra']['LINK']='Australia/Sydney';
  544. $aTimeZones['Australia/LHI']['LINK']='Australia/Lord_Howe';
  545. $aTimeZones['Australia/NSW']['LINK']='Australia/Sydney';
  546. $aTimeZones['Australia/North']['LINK']='Australia/Darwin';
  547. $aTimeZones['Australia/Queensland']['LINK']='Australia/Brisbane';
  548. $aTimeZones['Australia/South']['LINK']='Australia/Adelaide';
  549. $aTimeZones['Australia/Tasmania']['LINK']='Australia/Hobart';
  550. $aTimeZones['Australia/Victoria']['LINK']='Australia/Melbourne';
  551. $aTimeZones['Australia/West']['LINK']='Australia/Perth';
  552. $aTimeZones['Australia/Yancowinna']['LINK']='Australia/Broken_Hill';
  553. $aTimeZones['Brazil/Acre']['LINK']='America/Rio_Branco';
  554. $aTimeZones['Brazil/DeNoronha']['LINK']='America/Noronha';
  555. $aTimeZones['Brazil/East']['LINK']='America/Sao_Paulo';
  556. $aTimeZones['Brazil/West']['LINK']='America/Manaus';
  557. $aTimeZones['Canada/Atlantic']['LINK']='America/Halifax';
  558. $aTimeZones['Canada/Central']['LINK']='America/Winnipeg';
  559. $aTimeZones['Canada/East-Saskatchewan']['LINK']='America/Regina';
  560. $aTimeZones['Canada/Eastern']['LINK']='America/Toronto';
  561. $aTimeZones['Canada/Mountain']['LINK']='America/Edmonton';
  562. $aTimeZones['Canada/Newfoundland']['LINK']='America/St_Johns';
  563. $aTimeZones['Canada/Pacific']['LINK']='America/Vancouver';
  564. $aTimeZones['Canada/Saskatchewan']['LINK']='America/Regina';
  565. $aTimeZones['Canada/Yukon']['LINK']='America/Whitehorse';
  566. $aTimeZones['Chile/Continental']['LINK']='America/Santiago';
  567. $aTimeZones['Chile/EasterIsland']['LINK']='Pacific/Easter';
  568. $aTimeZones['Cuba']['LINK']='America/Havana';
  569. $aTimeZones['Egypt']['LINK']='Africa/Cairo';
  570. $aTimeZones['Eire']['LINK']='Europe/Dublin';
  571. $aTimeZones['Europe/Tiraspol']['LINK']='Europe/Chisinau';
  572. $aTimeZones['GB']['LINK']='Europe/London';
  573. $aTimeZones['GB-Eire']['LINK']='Europe/London';
  574. $aTimeZones['GMT+0']['LINK']='Etc/GMT';
  575. $aTimeZones['GMT-0']['LINK']='Etc/GMT';
  576. $aTimeZones['GMT0']['LINK']='Etc/GMT';
  577. $aTimeZones['Greenwich']['LINK']='Etc/GMT';
  578. $aTimeZones['Hongkong']['LINK']='Asia/Hong_Kong';
  579. $aTimeZones['Iceland']['LINK']='Atlantic/Reykjavik';
  580. $aTimeZones['Iran']['LINK']='Asia/Tehran';
  581. $aTimeZones['Israel']['LINK']='Asia/Jerusalem';
  582. $aTimeZones['Jamaica']['LINK']='America/Jamaica';
  583. $aTimeZones['Japan']['LINK']='Asia/Tokyo';
  584. $aTimeZones['Kwajalein']['LINK']='Pacific/Kwajalein';
  585. $aTimeZones['Libya']['LINK']='Africa/Tripoli';
  586. $aTimeZones['Mexico/BajaNorte']['LINK']='America/Tijuana';
  587. $aTimeZones['Mexico/BajaSur']['LINK']='America/Mazatlan';
  588. $aTimeZones['Mexico/General']['LINK']='America/Mexico_City';
  589. $aTimeZones['Navajo']['LINK']='America/Denver';
  590. $aTimeZones['NZ']['LINK']='Pacific/Auckland';
  591. $aTimeZones['NZ-CHAT']['LINK']='Pacific/Chatham';
  592. $aTimeZones['Pacific/Samoa']['LINK']='Pacific/Pago_Pago';
  593. $aTimeZones['Poland']['LINK']='Europe/Warsaw';
  594. $aTimeZones['Portugal']['LINK']='Europe/Lisbon';
  595. $aTimeZones['PRC']['LINK']='Asia/Shanghai';
  596. $aTimeZones['ROC']['LINK']='Asia/Taipei';
  597. $aTimeZones['ROK']['LINK']='Asia/Seoul';
  598. $aTimeZones['Singapore']['LINK']='Asia/Singapore';
  599. $aTimeZones['Turkey']['LINK']='Europe/Istanbul';
  600. $aTimeZones['UCT']['LINK']='Etc/UCT';
  601. $aTimeZones['US/Alaska']['LINK']='America/Anchorage';
  602. $aTimeZones['US/Aleutian']['LINK']='America/Adak';
  603. $aTimeZones['US/Arizona']['LINK']='America/Phoenix';
  604. $aTimeZones['US/Central']['LINK']='America/Chicago';
  605. $aTimeZones['US/East-Indiana']['LINK']='America/Indianapolis';
  606. $aTimeZones['US/Eastern']['LINK']='America/New_York';
  607. $aTimeZones['US/Hawaii']['LINK']='Pacific/Honolulu';
  608. $aTimeZones['US/Indiana-Starke']['LINK']='America/Indiana/Knox';
  609. $aTimeZones['US/Michigan']['LINK']='America/Detroit';
  610. $aTimeZones['US/Mountain']['LINK']='America/Denver';
  611. $aTimeZones['US/Pacific']['LINK']='America/Los_Angeles';
  612. $aTimeZones['US/Samoa']['LINK']='Pacific/Pago_Pago';
  613. $aTimeZones['UTC']['LINK']='Etc/UTC';
  614. $aTimeZones['Universal']['LINK']='Etc/UTC';
  615. $aTimeZones['W-SU']['LINK']='Europe/Moscow';
  616. $aTimeZones['Zulu']['LINK']='Etc/UTC';
  617. // zones that were present in SquirrelMail timezones.cfg and
  618. // not available in GNU C
  619. $aTimeZones['Asia/Ishigaki']['LINK']='Asia/Tokyo';
  620. $aTimeZones['China/Beijing']['LINK']='Asia/Shanghai';
  621. $aTimeZones['China/Shanghai']['LINK']='Asia/Shanghai';
  622. $aTimeZones['GMT']['LINK']='Etc/GMT';
  623. $aTimeZones['Factory']['LINK']='Etc/GMT';
  624.  
  625. /** etcetera (GMT,UTC, UCT zones) **/
  626. $aTimeZones['Etc/GMT']['TZ']='GMT';
  627. $aTimeZones['Etc/UTC']['TZ']='UTC';
  628. $aTimeZones['Etc/UCT']['TZ']='UCT';
  629.  
  630. $aTimeZones['Etc/Universal']['LINK']='Etc/UTC';
  631. $aTimeZones['Etc/Zulu']['LINK']='Etc/UTC';
  632. $aTimeZones['Etc/Greenwich']['LINK']='Etc/GMT';
  633. $aTimeZones['Etc/GMT-0']['LINK']='Etc/GMT';
  634. $aTimeZones['Etc/GMT+0']['LINK']='Etc/GMT';
  635. $aTimeZones['Etc/GMT0']['LINK']='Etc/GMT';
  636.  
  637. $aTimeZones['Etc/GMT-14']['TZ']='GMT-14';
  638. $aTimeZones['Etc/GMT-13']['TZ']='GMT-13';
  639. $aTimeZones['Etc/GMT-12']['TZ']='GMT-12';
  640. $aTimeZones['Etc/GMT-11']['TZ']='GMT-11';
  641. $aTimeZones['Etc/GMT-10']['TZ']='GMT-10';
  642. $aTimeZones['Etc/GMT-9']['TZ']='GMT-9';
  643. $aTimeZones['Etc/GMT-8']['TZ']='GMT-8';
  644. $aTimeZones['Etc/GMT-7']['TZ']='GMT-7';
  645. $aTimeZones['Etc/GMT-6']['TZ']='GMT-6';
  646. $aTimeZones['Etc/GMT-5']['TZ']='GMT-5';
  647. $aTimeZones['Etc/GMT-4']['TZ']='GMT-4';
  648. $aTimeZones['Etc/GMT-3']['TZ']='GMT-3';
  649. $aTimeZones['Etc/GMT-2']['TZ']='GMT-2';
  650. $aTimeZones['Etc/GMT-1']['TZ']='GMT-1';
  651. $aTimeZones['Etc/GMT+1']['TZ']='GMT+1';
  652. $aTimeZones['Etc/GMT+2']['TZ']='GMT+2';
  653. $aTimeZones['Etc/GMT+3']['TZ']='GMT+3';
  654. $aTimeZones['Etc/GMT+4']['TZ']='GMT+4';
  655. $aTimeZones['Etc/GMT+5']['TZ']='GMT+5';
  656. $aTimeZones['Etc/GMT+6']['TZ']='GMT+6';
  657. $aTimeZones['Etc/GMT+7']['TZ']='GMT+7';
  658. $aTimeZones['Etc/GMT+8']['TZ']='GMT+8';
  659. $aTimeZones['Etc/GMT+9']['TZ']='GMT+9';
  660. $aTimeZones['Etc/GMT+10']['TZ']='GMT+10';
  661. $aTimeZones['Etc/GMT+11']['TZ']='GMT+11';
  662. $aTimeZones['Etc/GMT+12']['TZ']='GMT+12';
  663.  
  664. /** europe **/
  665. // EU daylight saving rules apply unless noted other
  666. // EU      1981    max     -       Mar     lastSun  1:00u  1:00    S
  667. // EU      1996    max     -       Oct     lastSun  1:00u  0       -
  668. // W-Eur   1981    max     -       Mar     lastSun  1:00s  1:00    S
  669. // W-Eur   1996    max     -       Oct     lastSun  1:00s  0       -
  670. // C-Eur   1981    max     -       Mar     lastSun  2:00s  1:00    S
  671. // C-Eur   1996    max     -       Oct     lastSun  2:00s  0       -
  672. // E-Eur   1981    max     -       Mar     lastSun  0:00   1:00    S
  673. // E-Eur   1996    max     -       Oct     lastSun  0:00   0       -
  674. // Russia  1993    max     -       Mar     lastSun  2:00s  1:00    S
  675. // Russia  1996    max     -       Oct     lastSun  2:00s  0       -
  676. // Thule   1993    max     -       Apr     Sun>=1  2:00    1:00    D
  677. // Thule   1993    max     -       Oct     lastSun 2:00    0       S
  678.  
  679. // Britain (United Kingdom) and Ireland (Eire)
  680. $aTimeZones['Europe/London']['TZ']='GMT';
  681. $aTimeZones['Europe/Belfast']['TZ']='GMT';
  682. $aTimeZones['Europe/Dublin']['TZ']='GMT';
  683. // Old tz names
  684. $aTimeZones['WET']['TZ']='WET0WEST'// EU (WET/WEST)
  685. $aTimeZones['CET']['TZ']='CET-1CEST'// C-Eur (CET/CEST)
  686. $aTimeZones['MET']['TZ']='MET-1MEST'// C-Eur (MET/MEST)
  687. $aTimeZones['EET']['TZ']='EET-2EEST'// EU (EET/EEST)
  688.  
  689. $aTimeZones['Europe/Tirane']['NAME']='Albania';
  690. $aTimeZones['Europe/Tirane']['TZ']='MET-1METDST'// ? CE%sT
  691. $aTimeZones['Europe/Andorra']['NAME']='Andorra';
  692. $aTimeZones['Europe/Andorra']['TZ']='MET-1METDST';
  693. $aTimeZones['Europe/Vienna']['NAME']='Austria';
  694. $aTimeZones['Europe/Vienna']['TZ']='MEZ-1MESZ'// ? should be CE%sT
  695. $aTimeZones['Europe/Minsk']['NAME']='Belorus'// Russia daylight saving rules
  696. $aTimeZones['Europe/Minsk']['TZ']='EET-2EETDST';
  697. $aTimeZones['Europe/Brussels']['NAME']='Belgium';
  698. $aTimeZones['Europe/Brussels']['TZ']='MET-1METDST';
  699. $aTimeZones['Europe/Sofia']['NAME']='Bulgaria';
  700. $aTimeZones['Europe/Sofia']['TZ']='EET-2EETDST'// ? EE%sT
  701. $aTimeZones['Europe/Prague']['NAME']='Czech Republic';
  702. $aTimeZones['Europe/Prague']['TZ']='MET-1METDST';
  703. $aTimeZones['Europe/Copenhagen']['NAME']='Denmark';
  704. $aTimeZones['Europe/Copenhagen']['TZ']='MET-1METDST';
  705. $aTimeZones['Atlantic/Faeroe']['NAME']='Faroe Islands';
  706. $aTimeZones['Atlantic/Faeroe']['TZ']='WET0WETDST';
  707.  
  708. // Greenland
  709. $aTimeZones['America/Danmarkshavn']['TZ']='GMT'// no daylight saving rules
  710. $aTimeZones['America/Scoresbysund']['TZ']='EUT1EUTDST';
  711. $aTimeZones['America/Godthab']['TZ']='EUT3EUTDST'// gmt-3, eu daylight saving rules
  712. $aTimeZones['America/Thule']['TZ']='AST4ADT'// Thule daylight saving rules
  713.  
  714. $aTimeZones['Europe/Tallinn']['NAME']='Estonia';
  715. $aTimeZones['Europe/Tallinn']['TZ']='EET-2EETDST';
  716. $aTimeZones['Europe/Helsinki']['NAME']='Finland';
  717. $aTimeZones['Europe/Helsinki']['TZ']='EET-2EETDST';
  718. // Aaland Islands
  719. $aTimeZones['Europe/Mariehamn']['LINK']='Europe/Helsinki';
  720. $aTimeZones['Europe/Paris']['NAME']='France';
  721. $aTimeZones['Europe/Paris']['TZ']='MET-1METDST';
  722. $aTimeZones['Europe/Berlin']['NAME']='Germany';
  723. $aTimeZones['Europe/Berlin']['TZ']='MET-1METDST'// ? or MEZ-1MESZ
  724. $aTimeZones['Europe/Gibraltar']['NAME']='Gibraltar';
  725. $aTimeZones['Europe/Gibraltar']['TZ']='MET-1METDST';
  726. $aTimeZones['Europe/Athens']['NAME']='Greece';
  727. $aTimeZones['Europe/Athens']['TZ']='EET-2EETDST';
  728. $aTimeZones['Europe/Budapest']['NAME']='Hungary';
  729. $aTimeZones['Europe/Budapest']['TZ']='MET-1METDST';
  730. $aTimeZones['Atlantic/Reykjavik']['NAME']='Iceland';
  731. $aTimeZones['Atlantic/Reykjavik']['TZ']='GMT'// no daylight saving rules
  732. $aTimeZones['Europe/Rome']['NAME']='Italy';
  733. $aTimeZones['Europe/Rome']['TZ']='MET-1METDST';
  734. $aTimeZones['Europe/Vatican']['LINK']='Europe/Rome';
  735. $aTimeZones['Europe/San_Marino']['LINK']='Europe/Rome';
  736. $aTimeZones['Europe/Riga']['NAME']='Latvia';
  737. $aTimeZones['Europe/Riga']['TZ']='EET-2EETDST';
  738. $aTimeZones['Europe/Vaduz']['NAME']='Liechtenstein';
  739. $aTimeZones['Europe/Vaduz']['TZ']='MET-1METDST';
  740. $aTimeZones['Europe/Vilnius']['NAME']='Lithuania';
  741. $aTimeZones['Europe/Vilnius']['TZ']='EET-2EETDST';
  742. $aTimeZones['Europe/Luxembourg']['NAME']='Luxembourg';
  743. $aTimeZones['Europe/Luxembourg']['TZ']='MET-1METDST';
  744. $aTimeZones['Europe/Malta']['NAME']='Malta';
  745. $aTimeZones['Europe/Malta']['TZ']='MET-1METDST';
  746. $aTimeZones['Europe/Chisinau']['NAME']='Moldova';
  747. $aTimeZones['Europe/Chisinau']['TZ']='EET-2EETDST';
  748. $aTimeZones['Europe/Monaco']['NAME']='Monaco';
  749. $aTimeZones['Europe/Monaco']['TZ']='MET-1METDST';
  750. $aTimeZones['Europe/Amsterdam']['NAME']='Netherlands';
  751. $aTimeZones['Europe/Amsterdam']['TZ']='MET-1METDST';
  752. $aTimeZones['Europe/Oslo']['NAME']='Norway';
  753. $aTimeZones['Europe/Oslo']['TZ']='MET-1METDST';
  754. $aTimeZones['Arctic/Longyearbyen']['LINK']='Europe/Oslo';
  755. $aTimeZones['Atlantic/Jan_Mayen']['LINK']='Europe/Oslo';
  756. $aTimeZones['Europe/Warsaw']['NAME']='Poland';
  757. $aTimeZones['Europe/Warsaw']['TZ']='MET-1METDST';
  758. $aTimeZones['Europe/Lisbon']['NAME']='Portugal';
  759. $aTimeZones['Europe/Lisbon']['TZ']='PWT0PST'// ? WET0WETDST
  760. $aTimeZones['Atlantic/Azores']['NAME']='Azores';
  761. $aTimeZones['Atlantic/Azores']['TZ']='EUT1EUTDST'// ? gmt-1 eu daylight saving rules
  762. $aTimeZones['Atlantic/Madeira']['NAME']='Madeira';
  763. $aTimeZones['Atlantic/Madeira']['TZ']='WET0WETDST'// ?
  764. $aTimeZones['Europe/Bucharest']['NAME']='Romania';
  765. $aTimeZones['Europe/Bucharest']['TZ']='EET-2EETDST';
  766.  
  767. // Russia (Russia daylight saving rules)
  768. $aTimeZones['Europe/Kaliningrad']['NAME']='Russia, Kaliningrad'// gmt+2
  769. $aTimeZones['Europe/Kaliningrad']['TZ']='RFT-2RFTDST'// Russian Fed. Zone 1
  770. $aTimeZones['Europe/Moscow']['NAME']='Russia, Moscow'// gmt+3
  771. $aTimeZones['Europe/Moscow']['TZ']='RFT-3RFTDST'// Russian Fed. Zone 2
  772. $aTimeZones['Europe/Samara']['NAME']='Russia, Samara'// gmt+4
  773. $aTimeZones['Europe/Samara']['TZ']='RFT-4RFTDST'// Russian Fed. Zone 3
  774. $aTimeZones['Asia/Yekaterinburg']['NAME']='Russia, Yekaterinburg'// gmt+5
  775. $aTimeZones['Asia/Yekaterinburg']['TZ']='RFT-5RFTDST'// Russian Fed. Zone 4
  776. $aTimeZones['Asia/Omsk']['NAME']='Russia, Omsk'// gmt+6
  777. $aTimeZones['Asia/Omsk']['TZ']='RFT-6RFTDST'// Russian Fed. Zone 5
  778. $aTimeZones['Asia/Novosibirsk']['NAME']='Russia, Novosibirsk'// gmt+6
  779. $aTimeZones['Asia/Novosibirsk']['TZ']='RFT-6RFTDST'// Russian Fed. Zone 5
  780. $aTimeZones['Asia/Krasnoyarsk']['NAME']='Russia, Krasnoyarsk'// gmt+7
  781. $aTimeZones['Asia/Krasnoyarsk']['TZ']='RFT-7RFTDST'// Russian Fed. Zone 6
  782. $aTimeZones['Asia/Irkutsk']['NAME']='Russia, Irkutsk'// gmt+8
  783. $aTimeZones['Asia/Irkutsk']['TZ']='RFT-8RFTDST'// Russian Fed. Zone 7
  784. $aTimeZones['Asia/Yakutsk']['NAME']='Russia, Yakutsk'// gmt+9
  785. $aTimeZones['Asia/Yakutsk']['TZ']='RFT-9RFTDST'// Russian Fed. Zone 8
  786. $aTimeZones['Asia/Vladivostok']['NAME']='Russia, Vladivostok'// gmt+10
  787. $aTimeZones['Asia/Vladivostok']['TZ']='RFT-10RFTDST'// Russian Fed. Zone 9
  788. $aTimeZones['Asia/Sakhalin']['NAME']='Russia, Sakhalin'// gmt+10
  789. $aTimeZones['Asia/Sakhalin']['TZ']='RFT-10RFTDST'// Russian Fed. Zone 9
  790. $aTimeZones['Asia/Magadan']['NAME']='Russia, Magadan'// gmt+11
  791. $aTimeZones['Asia/Magadan']['TZ']='RFT-11RFTDST'// Russian Fed. Zone 10
  792. $aTimeZones['Asia/Kamchatka']['NAME']='Russia, Kamchatka'// gmt+12
  793. $aTimeZones['Asia/Kamchatka']['TZ']='RFT-12RFTDST'// Russian Fed. Zone 11
  794. $aTimeZones['Asia/Anadyr']['NAME']='Russia, Chukotka'// gmt+12 Chukotskij avtonomnyj okrug
  795. $aTimeZones['Asia/Anadyr']['TZ']='RFT-12RFTDST'// Russian Fed. Zone 11
  796.  
  797. $aTimeZones['Europe/Belgrade']['NAME']='Serbia and Montenegro';
  798. $aTimeZones['Europe/Belgrade']['TZ']='MET-1METDST';
  799.  
  800. // These independent countries are represented as links to other TZs 
  801. // in GNU C. Use real entries instead of a links in order to have them on menu
  802. $aTimeZones['Europe/Ljubljana']['NAME']='Slovenia';
  803. $aTimeZones['Europe/Ljubljana']['TZ']='MET-1METDST';
  804. $aTimeZones['Europe/Sarajevo']['NAME']='Bosnia and Herzegovina';
  805. $aTimeZones['Europe/Sarajevo']['TZ']='MET-1METDST';
  806. $aTimeZones['Europe/Skopje']['NAME']='Macedonia';
  807. $aTimeZones['Europe/Skopje']['TZ']='MET-1METDST';
  808. $aTimeZones['Europe/Zagreb']['NAME']='Croatia';
  809. $aTimeZones['Europe/Zagreb']['TZ']='MET-1METDST';
  810. $aTimeZones['Europe/Bratislava']['NAME']='Slovakia';
  811. $aTimeZones['Europe/Bratislava']['TZ']='MET-1METDST';
  812.  
  813. // Spain
  814. $aTimeZones['Europe/Madrid']['NAME']='Spain';
  815. $aTimeZones['Europe/Madrid']['TZ']='MET-1METDST';
  816. $aTimeZones['Africa/Ceuta']['NAME']='Ceuta';
  817. $aTimeZones['Africa/Ceuta']['TZ']='MET-1METDST';
  818. $aTimeZones['Atlantic/Canary']['NAME']='Canary';
  819. $aTimeZones['Atlantic/Canary']['TZ']='WET0WETDST';
  820.  
  821. $aTimeZones['Europe/Stockholm']['NAME']='Sweden';
  822. $aTimeZones['Europe/Stockholm']['TZ']='MET-1METDST';
  823. $aTimeZones['Europe/Zurich']['NAME']='Switzerland';
  824. $aTimeZones['Europe/Zurich']['TZ']='MET-1METDST';
  825. $aTimeZones['Europe/Istanbul']['NAME']='Turkey';
  826. $aTimeZones['Europe/Istanbul']['TZ']='EET-2EETDST';
  827. $aTimeZones['Asia/Istanbul']['LINK']='Europe/Istanbul';
  828.  
  829. // Ukraine
  830. $aTimeZones['Europe/Kiev']['NAME']='Ukraine';
  831. $aTimeZones['Europe/Kiev']['TZ']='EET-2EETDST';
  832. $aTimeZones['Europe/Uzhgorod']['NAME']='Ukraine, Ruthenia';
  833. $aTimeZones['Europe/Uzhgorod']['TZ']='EET-2EETDST';
  834. $aTimeZones['Europe/Zaporozhye']['NAME']='Ukraine, Zaporozhye';
  835. $aTimeZones['Europe/Zaporozhye']['TZ']='EET-2EETDST';
  836. $aTimeZones['Europe/Simferopol']['NAME']='Ukraine, Crimea';
  837. $aTimeZones['Europe/Simferopol']['TZ']='EET-2EETDST';
  838.  
  839. /** northamerica **/
  840. // Rule    US      1967    max     -       Oct     lastSun 2:00    0       S
  841. // Rule    US      1987    max     -       Apr     Sun>=1  2:00    1:00    D
  842. //
  843. $aTimeZones['America/New_York']['NAME']='US Eastern standard time';
  844. $aTimeZones['America/New_York']['TZ']='EST5EDT';
  845. $aTimeZones['America/Chicago']['NAME']='US Central standard time';
  846. $aTimeZones['America/Chicago']['TZ']='CST6CDT';
  847.  
  848. // Oliver County, ND
  849. $aTimeZones['America/North_Dakota/Center']['NAME']='US, Oliver County [ND]';
  850. $aTimeZones['America/North_Dakota/Center']['TZ']='CST6CDT'// CST since 1992
  851.  
  852. $aTimeZones['America/Denver']['NAME']='US Mountain standard time';
  853. $aTimeZones['America/Denver']['TZ']='MST7MDT';
  854. $aTimeZones['America/Los_Angeles']['NAME']='US Pacific standard time';
  855. $aTimeZones['America/Los_Angeles']['TZ']='PST8PDT';
  856.  
  857. // Aliaska
  858. //$aTimeZones['America/Juneau']['NAME']='US, Juneau [AL]';
  859. $aTimeZones['America/Juneau']['TZ']='NAST9NADT';
  860. //$aTimeZones['America/Yakutat']['NAME']='US, Yakutat [AL]';
  861. $aTimeZones['America/Yakutat']['TZ']='NAST9NADT';
  862. //$aTimeZones['America/Anchorage']['NAME']='US, Anchorage [AL]';
  863. $aTimeZones['America/Anchorage']['TZ']='NAST9NADT';
  864. //$aTimeZones['America/Nome']['NAME']='US, Nome [AL]';
  865. $aTimeZones['America/Nome']['TZ']='NAST9NADT';
  866. // $aTimeZones['America/Adak']['NAME']='US, Aleutian Islands';
  867. $aTimeZones['America/Adak']['TZ']='AST10ADT';
  868.  
  869. $aTimeZones['Pacific/Honolulu']['NAME']='US, Hawaii';
  870. $aTimeZones['Pacific/Honolulu']['TZ']='UCT10';
  871. $aTimeZones['America/Phoenix']['NAME']='US, Arizona';
  872. $aTimeZones['America/Phoenix']['TZ']='MST7'// gmt-7
  873. $aTimeZones['America/Shiprock']['LINK']='America/Denver';
  874.  
  875. $aTimeZones['America/Boise']['NAME']='US, South Idaho';
  876. $aTimeZones['America/Boise']['TZ']='MST7MDT';
  877. $aTimeZones['America/Indianapolis']['NAME']='US, Indiana';
  878. $aTimeZones['America/Indianapolis']['TZ']='EST5';
  879. $aTimeZones['America/Indiana/Indianapolis']['LINK']='America/Indianapolis';
  880. // Crawford County, Indiana
  881. $aTimeZones['America/Indiana/Marengo']['NAME']='US, Crawford County [IN]';
  882. $aTimeZones['America/Indiana/Marengo']['TZ']='EST5';
  883. // Starke County, Indiana
  884. $aTimeZones['America/Indiana/Knox']['NAME']='US, Starke County [IN]';
  885. $aTimeZones['America/Indiana/Knox']['TZ']='EST5';
  886. // Switzerland County, Indiana
  887. $aTimeZones['America/Indiana/Vevay']['NAME']='US, Switzerland County [IN]';
  888. $aTimeZones['America/Indiana/Vevay']['TZ']='EST5';
  889. $aTimeZones['America/Louisville']['NAME']='US, Louisville [KY';
  890. $aTimeZones['America/Louisville']['TZ']='EST5EDT';
  891. $aTimeZones['America/Kentucky/Louisville']['LINK']='America/Louisville';
  892. // Wayne, Clinton, and Russell Counties, Kentucky
  893. $aTimeZones['America/Kentucky/Monticello']['NAME']='US, Wayne, Clinton, and Russell Counties [KY]';
  894. $aTimeZones['America/Kentucky/Monticello']['TZ']='EST5EDT';
  895. // Michigan
  896. $aTimeZones['America/Detroit']['NAME']='US, Michigan';
  897. $aTimeZones['America/Detroit']['TZ']='EST5EDT';
  898. // The Michigan border with Wisconsin switched from EST to CST/CDT in 1973.
  899. $aTimeZones['America/Menominee']['NAME']='US, Menominee [MI]';
  900. $aTimeZones['America/Menominee']['TZ']='CST6CDT';
  901.  
  902. $aTimeZones['EST5EDT']['LINK']='America/New_York';
  903. $aTimeZones['CST6CDT']['LINK']='America/Chicago';
  904. $aTimeZones['MST7MDT']['LINK']='America/Denver';
  905. $aTimeZones['PST8PDT']['LINK']='America/Los_Angeles';
  906. $aTimeZones['EST']['LINK']='America/Indianapolis';
  907. $aTimeZones['MST']['LINK']='America/Phoenix';
  908. $aTimeZones['HST']['LINK']='Pacific/Honolulu';
  909.  
  910.  
  911. // Canada
  912. // Rule    Canada  1974    max     -       Oct     lastSun 2:00    0       S
  913. // Rule    Canada  1987    max     -       Apr     Sun>=1  2:00    1:00    D
  914. // Rule    StJohns 1987    max     -       Oct     lastSun 0:01    0       S
  915. // Rule    StJohns 1989    max     -       Apr     Sun>=1  0:01    1:00    D
  916. $aTimeZones['America/St_Johns']['NAME']='Canada, Newfoundland';
  917. $aTimeZones['America/St_Johns']['TZ']='NST3:30NDT';
  918. $aTimeZones['America/Goose_Bay']['NAME']='Canada, Atlantic';
  919. $aTimeZones['America/Goose_Bay']['TZ']='AST4ADT'// gmt-4 StJohns daylight savings
  920. //$aTimeZones['America/Halifax']['NAME']='';
  921. $aTimeZones['America/Halifax']['TZ']='AST4ADT'// gmt-4 Canada daylight savings
  922. //$aTimeZones['America/Glace_Bay']['NAME']='';
  923. $aTimeZones['America/Glace_Bay']['TZ']='AST4ADT'// gmt-4 Canada daylight savings
  924. // Ontario, Quebec
  925. //$aTimeZones['America/Montreal']['NAME']='';
  926. $aTimeZones['America/Montreal']['TZ']='EST5EDT';
  927. //$aTimeZones['America/Toronto']['NAME']='';
  928. $aTimeZones['America/Toronto']['TZ']='EST5EDT';
  929. //$aTimeZones['America/Thunder_Bay']['NAME']='';
  930. $aTimeZones['America/Thunder_Bay']['TZ']='EST5EDT';
  931. //$aTimeZones['America/Nipigon']['NAME']='';
  932. $aTimeZones['America/Nipigon']['TZ']='EST5EDT';
  933. //$aTimeZones['America/Rainy_River']['NAME']='';
  934. $aTimeZones['America/Rainy_River']['TZ']='CST6CDT';
  935. // Manitoba
  936. // Rule    Winn    1987    max     -       Apr     Sun>=1  2:00    1:00    D
  937. // Rule    Winn    1987    max     -       Oct     lastSun 2:00s   0       S
  938. $aTimeZones['America/Winnipeg']['NAME']='Canada, Manitoba';
  939. $aTimeZones['America/Winnipeg']['TZ']='CST6CDT';
  940. // Saskatchewan
  941. //$aTimeZones['America/Regina']['NAME']='';
  942. $aTimeZones['America/Regina']['TZ']='CST6';
  943. //$aTimeZones['America/Swift_Current']['NAME']='';
  944. $aTimeZones['America/Swift_Current']['TZ']='CST6';
  945. // Alberta
  946. // Rule    Edm     1972    max     -       Oct     lastSun 2:00    0       S
  947. // Rule    Edm     1987    max     -       Apr     Sun>=1  2:00    1:00    D
  948. $aTimeZones['America/Edmonton']['NAME']='Canada, Alberta';
  949. $aTimeZones['America/Edmonton']['TZ']='MST7MDT';
  950. // British Columbia
  951. // Rule    Vanc    1962    max     -       Oct     lastSun 2:00    0       S
  952. // Rule    Vanc    1987    max     -       Apr     Sun>=1  2:00    1:00    D
  953. $aTimeZones['America/Vancouver']['NAME']='Canada, British Columbia';
  954. $aTimeZones['America/Vancouver']['TZ']='PST8PDT';
  955. $aTimeZones['America/Dawson_Creek']['NAME']='Canada, Dawson Creek';
  956. $aTimeZones['America/Dawson_Creek']['TZ']='MST7';
  957. // Northwest Territories, Nunavut, Yukon
  958. // Rule    NT_YK   1980    max     -       Oct     lastSun 2:00    0       S
  959. // Rule    NT_YK   1987    max     -       Apr     Sun>=1  2:00    1:00    D
  960. //$aTimeZones['America/Pangnirtung']['NAME']='';
  961. $aTimeZones['America/Pangnirtung']['TZ']='EST5EDT'// Canada daylight saving
  962. //$aTimeZones['America/Iqaluit']['NAME']='';
  963. $aTimeZones['America/Iqaluit']['TZ']='EST5EDT'// Canada daylight saving
  964. //$aTimeZones['America/Rankin_Inlet']['NAME']='';
  965. $aTimeZones['America/Rankin_Inlet']['TZ']='CST6CDT'// Canada daylight saving
  966. //$aTimeZones['America/Cambridge_Bay']['NAME']='';
  967. $aTimeZones['America/Cambridge_Bay']['TZ']='MST7MDT'// Canada daylight saving
  968. //$aTimeZones['America/Yellowknife']['NAME']='';
  969. $aTimeZones['America/Yellowknife']['TZ']='MST7MDT';  // NT_YK daylight saving
  970. //$aTimeZones['America/Inuvik']['NAME']='';
  971. $aTimeZones['America/Inuvik']['TZ']='MST7MDT';  // NT_YK daylight saving
  972. //$aTimeZones['America/Whitehorse']['NAME']='';
  973. $aTimeZones['America/Whitehorse']['TZ']='PST8PDT';  // NT_YK daylight saving
  974. //$aTimeZones['America/Dawson']['NAME']='';
  975. $aTimeZones['America/Dawson']['TZ']='PST8PDT';  // NT_YK daylight saving
  976.  
  977. // Mexico
  978. // Rule    Mexico  2002    max     -       Apr     Sun>=1  2:00    1:00    D
  979. // Rule    Mexico  2002    max     -       Oct     lastSun 2:00    0       S
  980. // Quintana Roo
  981. //$aTimeZones['America/Cancun']['NAME']='';
  982. $aTimeZones['America/Cancun']['TZ']='CST6CDT';
  983. // Campeche, Yucatan
  984. //$aTimeZones['America/Merida']['NAME']='';
  985. $aTimeZones['America/Merida']['TZ']='CST6CDT';
  986. // Coahuila, Durango, Nuevo Leon, Tamaulipas
  987. //$aTimeZones['America/Monterrey']['NAME']='';
  988. $aTimeZones['America/Monterrey']['TZ']='CST6CDT';
  989. // Central Mexico 
  990. //$aTimeZones['America/Mexico_City']['NAME']='';
  991. $aTimeZones['America/Mexico_City']['TZ']='CST6CDT';
  992. // Chihuahua
  993. //$aTimeZones['America/Chihuahua']['NAME']='';
  994. $aTimeZones['America/Chihuahua']['TZ']='MST7MDT';
  995. // Sonora
  996. //$aTimeZones['America/Hermosillo']['NAME']='';
  997. $aTimeZones['America/Hermosillo']['TZ']='MST7';
  998. // Baja California Sur, Nayarit, Sinaloa
  999. //$aTimeZones['America/Mazatlan']['NAME']='';
  1000. $aTimeZones['America/Mazatlan']['TZ']='MST7MDT';
  1001. // Baja California
  1002. //$aTimeZones['America/Tijuana']['NAME']='';
  1003. $aTimeZones['America/Tijuana']['TZ']='PST8PDT';
  1004.  
  1005. $aTimeZones['America/Anguilla']['NAME']='Anguilla';
  1006. $aTimeZones['America/Anguilla']['TZ']='UCT4'// gmt-4 AST
  1007. $aTimeZones['America/Antigua']['NAME']='Antigua';
  1008. $aTimeZones['America/Antigua']['TZ']='UCT4';
  1009.  
  1010. // Bahamas 
  1011. // 1964    max     -       Oct     lastSun 2:00    0       S
  1012. // 1987    max     -       Apr     Sun>=1  2:00    1:00    D
  1013. $aTimeZones['America/Nassau']['NAME']='Bahamas';
  1014. $aTimeZones['America/Nassau']['TZ']='EST5EDT';
  1015.  
  1016. $aTimeZones['America/Barbados']['NAME']='Barbados';
  1017. $aTimeZones['America/Barbados']['TZ']='UCT4';
  1018. $aTimeZones['America/Belize']['NAME']='Belize';
  1019. $aTimeZones['America/Belize']['TZ']='UCT6';
  1020. $aTimeZones['Atlantic/Bermuda']['NAME']='Bermuda';
  1021. $aTimeZones['Atlantic/Bermuda']['TZ']='AST4ADT'// Bahamas daylight saving rules
  1022. $aTimeZones['America/Cayman']['NAME']='Cayman Islands';
  1023. $aTimeZones['America/Cayman']['TZ']='EST5';
  1024. $aTimeZones['America/Costa_Rica']['NAME']='Costa Rica';
  1025. $aTimeZones['America/Costa_Rica']['TZ']='UCT6';
  1026. // Cuba
  1027. // 2000    max     -       Apr     Sun>=1  0:00s   1:00    D
  1028. // 2005    max     -       Oct     lastSun 0:00s   0       S
  1029. $aTimeZones['America/Havana']['NAME']='Cuba';
  1030. $aTimeZones['America/Havana']['TZ']='UCT5'// ? C%sT check daylight savings
  1031.  
  1032. $aTimeZones['America/Dominica']['NAME']='Dominica';
  1033. $aTimeZones['America/Dominica']['TZ']='UCT4'// AST4
  1034. $aTimeZones['America/Santo_Domingo']['NAME']='Dominican Republic';
  1035. $aTimeZones['America/Santo_Domingo']['TZ']='UCT4';
  1036. $aTimeZones['America/El_Salvador']['NAME']='El_Salvador';
  1037. $aTimeZones['America/El_Salvador']['TZ']='UCT6';
  1038. $aTimeZones['America/Grenada']['NAME']='Grenada';
  1039. $aTimeZones['America/Grenada']['TZ']='UCT4';
  1040. $aTimeZones['America/Guadeloupe']['NAME']='Guadeloupe';
  1041. $aTimeZones['America/Guadeloupe']['TZ']='UCT4';
  1042. $aTimeZones['America/Guatemala']['NAME']='Guatemala';
  1043. $aTimeZones['America/Guatemala']['TZ']='UCT6';
  1044. $aTimeZones['America/Port-au-Prince']['NAME']='Haiti';
  1045. $aTimeZones['America/Port-au-Prince']['TZ']='EST5EDT';
  1046. $aTimeZones['America/Tegucigalpa']['NAME']='Honduras';
  1047. $aTimeZones['America/Tegucigalpa']['TZ']='UCT6';
  1048. $aTimeZones['America/Jamaica']['NAME']='Jamaica';
  1049. $aTimeZones['America/Jamaica']['TZ']='EST5';
  1050. $aTimeZones['America/Martinique']['NAME']='Martinique';
  1051. $aTimeZones['America/Martinique']['TZ']='UCT4'// AST4
  1052. $aTimeZones['America/Montserrat']['NAME']='Montserrat';
  1053. $aTimeZones['America/Montserrat']['TZ']='UCT4';
  1054. // Nicaragua
  1055. // Rule    Nic     2005    only    -       Apr     10      0:00    1:00    D
  1056. // Rule    Nic     2005    only    -       Sep     11      0:00    0       S
  1057. $aTimeZones['America/Managua']['NAME']='Nicaragua';
  1058. $aTimeZones['America/Managua']['TZ']='CST6CDT';
  1059. $aTimeZones['America/Panama']['NAME']='Panama';
  1060. $aTimeZones['America/Panama']['TZ']='EST5';
  1061. $aTimeZones['America/Puerto_Rico']['NAME']='Puerto Rico';
  1062. $aTimeZones['America/Puerto_Rico']['TZ']='UCT4'// AST4
  1063. $aTimeZones['America/St_Kitts']['NAME']='St Kitts-Nevis';
  1064. $aTimeZones['America/St_Kitts']['TZ']='UCT4'// AST4
  1065. $aTimeZones['America/St_Lucia']['NAME']='St Lucia';
  1066. $aTimeZones['America/St_Lucia']['TZ']='UCT4'// AST4
  1067. $aTimeZones['America/Miquelon']['NAME']='St Pierre and Miquelon';
  1068. $aTimeZones['America/Miquelon']['TZ']='UCT3'// gmt-3 Canada daylight saving rules PMST3PMDT
  1069. $aTimeZones['America/St_Vincent']['NAME']='St Vincent and the Grenadines';
  1070. $aTimeZones['America/St_Vincent']['TZ']='UCT4'// AST4
  1071.  
  1072. // Rule    TC      1979    max     -       Oct     lastSun 0:00    0       S
  1073. // Rule    TC      1987    max     -       Apr     Sun>=1  0:00    1:00    D
  1074. $aTimeZones['America/Grand_Turk']['NAME']='Turks and Caicos';
  1075. $aTimeZones['America/Grand_Turk']['TZ']='EST5EDT';
  1076.  
  1077. $aTimeZones['America/Tortola']['NAME']='British Virgin Islands';
  1078. $aTimeZones['America/Tortola']['TZ']='UCT4'// AST4
  1079. $aTimeZones['America/St_Thomas']['NAME']='Virgin Islands';
  1080. $aTimeZones['America/St_Thomas']['TZ']='UCT4'// AST4
  1081.  
  1082. // Pacific Presidential Election Time
  1083. $aTimeZones['US/Pacific-New']['LINK']='America/Los_Angeles';
  1084.  
  1085. /** southamerica **/
  1086.  
  1087. // Argentina
  1088. // Buenos Aires (BA), Capital Federal (CF)
  1089. //$aTimeZones['America/Argentina/Buenos_Aires']['NAME']='';
  1090. $aTimeZones['America/Argentina/Buenos_Aires']['TZ']='SAT3'// gmt-3 2000
  1091. // Santa Fe (SF), Entre Rios (ER), Corrientes (CN), Misiones (MN), Chaco (CC),
  1092. // Formosa (FM), Salta (SA), Santiago del Estero (SE), Cordoba (CB),
  1093. // San Luis (SL), La Pampa (LP), Neuquen (NQ), Rio Negro (RN)
  1094. //$aTimeZones['America/Argentina/Cordoba']['NAME']='';
  1095. $aTimeZones['America/Argentina/Cordoba']['TZ']='SAT3'// gmt-3 since 2000
  1096. // Tucuman (TM)
  1097. //$aTimeZones['America/Argentina/Tucuman']['NAME']='';
  1098. $aTimeZones['America/Argentina/Tucuman']['TZ']='SAT3'// gmt-3 since 2004
  1099. // La Rioja (LR)
  1100. //$aTimeZones['America/Argentina/La_Rioja']['NAME']='';
  1101. $aTimeZones['America/Argentina/La_Rioja']['TZ']='SAT3'// gmt-3 since 2004
  1102. // San Juan (SJ)
  1103. //$aTimeZones['America/Argentina/San_Juan']['NAME']='';
  1104. $aTimeZones['America/Argentina/San_Juan']['TZ']='SAT3'// gmt-3 since 2004
  1105. // Jujuy (JY)
  1106. //$aTimeZones['America/Argentina/Jujuy']['NAME']='';
  1107. $aTimeZones['America/Argentina/Jujuy']['TZ']='SAT3'// gmt-3 since 2000
  1108. // Catamarca (CT)
  1109. //$aTimeZones['America/Argentina/Catamarca']['NAME']='';
  1110. $aTimeZones['America/Argentina/Catamarca']['TZ']='SAT3'// gmt-3 since 2004
  1111. // Mendoza (MZ)
  1112. //$aTimeZones['America/Argentina/Mendoza']['NAME']='';
  1113. $aTimeZones['America/Argentina/Mendoza']['TZ']='SAT3'// gmt-3 since 2004
  1114. // Chubut (CH)
  1115. //$aTimeZones['America/Argentina/ComodRivadavia']['NAME']='';
  1116. $aTimeZones['America/Argentina/ComodRivadavia']['TZ']='SAT3'// gmt-3 since 2004
  1117. // Santa Cruz (SC)
  1118. // $aTimeZones['America/Argentina/Rio_Gallegos']['NAME']='';
  1119. $aTimeZones['America/Argentina/Rio_Gallegos']['TZ']='SAT3'// gmt-3 since 2004
  1120. // Tierra del Fuego, Antartida e Islas del Atlantico Sur (TF)
  1121. //$aTimeZones['America/Argentina/Ushuaia']['NAME']='';
  1122. $aTimeZones['America/Argentina/Ushuaia']['TZ']='SAT3'// gmt-3 since 2004
  1123.  
  1124. $aTimeZones['America/Aruba']['NAME']='Aruba';
  1125. $aTimeZones['America/Aruba']['TZ']='UCT4'// AST4
  1126. $aTimeZones['America/La_Paz']['NAME']='Bolivia';
  1127. $aTimeZones['America/La_Paz']['TZ']='UCT4'// BOT4
  1128.  
  1129. // Brazil
  1130. // 2001    max     -       Feb     Sun>=15  0:00   0       -
  1131. // 2004    only    -       Nov      2       0:00   1:00    S
  1132. // 2005    max     -       Oct     Sun>=15  0:00   1:00    S
  1133. // Fernando de Noronha (administratively part of PE)
  1134. // $aTimeZones['America/Noronha']['NAME']='';
  1135. $aTimeZones['America/Noronha']['TZ']='NORO2';
  1136. // Amapa (AP), east Para (PA)
  1137. //$aTimeZones['America/Belem']['NAME']='';
  1138. $aTimeZones['America/Belem']['TZ']='BRT3'// gmt-3
  1139. //  Maranhao (MA), Piaui (PI), Ceara (CE), Rio Grande do Norte (RN), Paraiba (PB)
  1140. //$aTimeZones['America/Fortaleza']['NAME']='';
  1141. $aTimeZones['America/Fortaleza']['TZ']='BRT3'// gmt-3
  1142. // Pernambuco (PE) (except Atlantic islands)
  1143. //$aTimeZones['America/Recife']['NAME']='';
  1144. $aTimeZones['America/Recife']['TZ']='BRT3'// gmt-3
  1145. // Tocantins (TO)
  1146. //$aTimeZones['America/Araguaina']['NAME']='';
  1147. $aTimeZones['America/Araguaina']['TZ']='BRT3';
  1148. // Alagoas (AL), Sergipe (SE)
  1149. //$aTimeZones['America/Maceio']['NAME']='';
  1150. $aTimeZones['America/Maceio']['TZ']='BRT3';
  1151. // Bahia (BA)
  1152. //$aTimeZones['America/Bahia']['NAME']='';
  1153. $aTimeZones['America/Bahia']['TZ']='BRT3';
  1154. // Goias (GO), Distrito Federal (DF), Minas Gerais (MG),
  1155. // Espirito Santo (ES), Rio de Janeiro (RJ), Sao Paulo (SP), Parana (PR),
  1156. // Santa Catarina (SC), Rio Grande do Sul (RS)
  1157. //$aTimeZones['America/Sao_Paulo']['NAME']='';
  1158. $aTimeZones['America/Sao_Paulo']['TZ']='BRT3BRST'// ? gmt-3 Brasil daylight saving rules
  1159. // Mato Grosso do Sul (MS)
  1160. //$aTimeZones['America/Campo_Grande']['NAME']='';
  1161. $aTimeZones['America/Campo_Grande']['TZ']='AMT4AMST'// ? gmt-4 Brasil daylight saving rules
  1162. // Mato Grosso (MT)
  1163. //$aTimeZones['America/Cuiaba']['NAME']='';
  1164. $aTimeZones['America/Cuiaba']['TZ']='AMT4AMST'// ? gmt-4 Brasil daylight saving rules
  1165. // west Para (PA), Rondonia (RO)
  1166. //$aTimeZones['America/Porto_Velho']['NAME']='';
  1167. $aTimeZones['America/Porto_Velho']['TZ']='AMT4'// gmt-4
  1168. // Roraima (RR)
  1169. //$aTimeZones['America/Boa_Vista']['NAME']='';
  1170. $aTimeZones['America/Boa_Vista']['TZ']='AMT4'// gmt-4
  1171. // east Amazonas (AM): Boca do Acre, Jutai, Manaus, Floriano Peixoto
  1172. //$aTimeZones['America/Manaus']['NAME']='';
  1173. $aTimeZones['America/Manaus']['TZ']='AMT4';
  1174. // west Amazonas (AM): Atalaia do Norte, Boca do Maoco, Benjamin Constant,
  1175. // Eirunepe, Envira, Ipixuna
  1176. //$aTimeZones['America/Eirunepe']['NAME']='';
  1177. $aTimeZones['America/Eirunepe']['TZ']='ACT5';
  1178. // Acre (AC)
  1179. //$aTimeZones['America/Rio_Branco']['NAME']='';
  1180. $aTimeZones['America/Rio_Branco']['TZ']='ACT5';
  1181.  
  1182. // Chile
  1183. //Rule    Chile   1999    max     -       Oct     Sun>=9  4:00u   1:00    S
  1184. //Rule    Chile   2000    max     -       Mar     Sun>=9  3:00u   0       -
  1185. $aTimeZones['America/Santiago']['NAME']='Chile';
  1186. $aTimeZones['America/Santiago']['TZ']='CST4CDT';
  1187. $aTimeZones['Pacific/Easter']['NAME']='Chile, Easter Island';
  1188. $aTimeZones['Pacific/Easter']['TZ']='EIST6EIDT';
  1189.  
  1190. $aTimeZones['America/Bogota']['NAME']='Colombia';
  1191. $aTimeZones['America/Bogota']['TZ']='UCT5'// COT5
  1192. $aTimeZones['America/Curacao']['NAME']='Curacao';
  1193. $aTimeZones['America/Curacao']['TZ']='UCT4'// AST4
  1194. $aTimeZones['America/Guayaquil']['NAME']='Equador';
  1195. $aTimeZones['America/Guayaquil']['TZ']='UCT5'// ECT5
  1196. $aTimeZones['Pacific/Galapagos']['NAME']='Equador, Galapagos';
  1197. $aTimeZones['Pacific/Galapagos']['TZ']='UCT6'// GALT6
  1198.  
  1199. // Falklands
  1200. //Rule    Falk    2001    max     -       Apr     Sun>=15 2:00    0       -
  1201. //Rule    Falk    2001    max     -       Sep     Sun>=1  2:00    1:00    S
  1202. $aTimeZones['Atlantic/Stanley']['NAME']='Falklands';
  1203. $aTimeZones['Atlantic/Stanley']['TZ']='FKT4FKST';
  1204.  
  1205. $aTimeZones['America/Cayenne']['NAME']='French Guiana';
  1206. $aTimeZones['America/Cayenne']['TZ']='SAT3';
  1207. $aTimeZones['America/Guyana']['NAME']='Guyana';
  1208. $aTimeZones['America/Guyana']['TZ']='UCT4';
  1209. // Paraguay
  1210. // Rule    Para    2004    max     -       Oct     Sun>=15 0:00    1:00    S
  1211. // Rule    Para    2005    max     -       Mar     Sun>=8  0:00    0       -
  1212. $aTimeZones['America/Asuncion']['NAME']='Paraguay';
  1213. $aTimeZones['America/Asuncion']['TZ']='PYT4PYST';
  1214.  
  1215. $aTimeZones['America/Lima']['NAME']='Peru';
  1216. $aTimeZones['America/Lima']['TZ']='PET5';
  1217. $aTimeZones['Atlantic/South_Georgia']['NAME']='South Georgia';
  1218. $aTimeZones['Atlantic/South_Georgia']['TZ']='UCT2'// gmt-2 GST2
  1219. $aTimeZones['America/Paramaribo']['NAME']='Suriname';
  1220. $aTimeZones['America/Paramaribo']['TZ']='UCT3'// gmt-3 SRT3
  1221. $aTimeZones['America/Port_of_Spain']['NAME']='Trinidad and Tobago';
  1222. $aTimeZones['America/Port_of_Spain']['TZ']='UCT4'// AST4
  1223.  
  1224. // Uruguay
  1225. //Rule    Uruguay 2004    only    -       Sep     19       0:00   1:00    S
  1226. //Rule    Uruguay 2005    only    -       Mar     27       2:00   0       -
  1227. $aTimeZones['America/Montevideo']['NAME']='Uruguay';
  1228. $aTimeZones['America/Montevideo']['TZ']='SAT3'// ?
  1229.  
  1230. $aTimeZones['America/Caracas']['NAME']='Venezuela';
  1231. $aTimeZones['America/Caracas']['TZ']='UCT4'// VET4
  1232.  
  1233. /** SystemV **/
  1234. $aTimeZones['SystemV/AST4ADT']['LINK']='America/Halifax';
  1235. $aTimeZones['SystemV/EST5EDT']['LINK']='America/New_York';
  1236. $aTimeZones['SystemV/CST6CDT']['LINK']='America/Chicago';
  1237. $aTimeZones['SystemV/MST7MDT']['LINK']='America/Denver';
  1238. $aTimeZones['SystemV/PST8PDT']['LINK']='America/Los_Angeles';
  1239. $aTimeZones['SystemV/YST9YDT']['LINK']='America/Anchorage';
  1240. $aTimeZones['SystemV/AST4']['LINK']='America/Puerto_Rico';
  1241. $aTimeZones['SystemV/EST5']['LINK']='America/Indianapolis';
  1242. $aTimeZones['SystemV/CST6']['LINK']='America/Regina';
  1243. $aTimeZones['SystemV/MST7']['LINK']='America/Phoenix';
  1244. $aTimeZones['SystemV/PST8']['LINK']='Pacific/Pitcairn';
  1245. $aTimeZones['SystemV/YST9']['LINK']='Pacific/Gambier';
  1246. $aTimeZones['SystemV/HST10']['LINK']='Pacific/Honolulu';
  1247.  
  1248. // Saudi Arabia (solar87/solar88/solar89)
  1249. //$aTimeZones['Asia/Riyadh87']['NAME']='';
  1250. $aTimeZones['Asia/Riyadh87']['TZ']='UCT-3:07:04';
  1251. $aTimeZones['Mideast/Riyadh87']['LINK']='Asia/Riyadh87';
  1252. //$aTimeZones['Asia/Riyadh88']['NAME']='';
  1253. $aTimeZones['Asia/Riyadh88']['TZ']='UCT-3:07:04';
  1254. $aTimeZones['Mideast/Riyadh88']['LINK']='Asia/Riyadh88';
  1255. //$aTimeZones['Asia/Riyadh89']['NAME']='';
  1256. $aTimeZones['Asia/Riyadh89']['TZ']='UCT-3:07:04';
  1257. $aTimeZones['Mideast/Riyadh89']['LINK']='Asia/Riyadh89';

Documentation generated on Fri, 21 Nov 2014 04:19:30 +0100 by phpDocumentor 1.4.3