exchangezones.php
1 year ago
lotuszones.php
1 year ago
php-bc.php
1 year ago
php-workaround.php
1 year ago
windowszones.php
1 year ago
php-workaround.php
47 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * A list of PHP timezones that were supported until 5.5.9, removed in |
| 5 | * PHP 5.5.10 and re-introduced in PHP 5.5.17. |
| 6 | * |
| 7 | * DateTimeZone::listIdentifiers(DateTimeZone::ALL_WITH_BC) returns them, |
| 8 | * but they are invalid for new DateTimeZone(). Fixed in PHP 5.5.17. |
| 9 | * https://bugs.php.net/bug.php?id=66985 |
| 10 | * |
| 11 | * Some more info here: |
| 12 | * http://evertpot.com/php-5-5-10-timezone-changes/ |
| 13 | * |
| 14 | * @copyright Copyright (C) fruux GmbH (https://fruux.com/) |
| 15 | * @license http://sabre.io/license/ Modified BSD License |
| 16 | */ |
| 17 | return [ |
| 18 | 'CST6CDT' => 'America/Chicago', |
| 19 | 'Cuba' => 'America/Havana', |
| 20 | 'Egypt' => 'Africa/Cairo', |
| 21 | 'Eire' => 'Europe/Dublin', |
| 22 | 'EST5EDT' => 'America/New_York', |
| 23 | 'Factory' => 'UTC', |
| 24 | 'GB-Eire' => 'Europe/London', |
| 25 | 'GMT0' => 'UTC', |
| 26 | 'Greenwich' => 'UTC', |
| 27 | 'Hongkong' => 'Asia/Hong_Kong', |
| 28 | 'Iceland' => 'Atlantic/Reykjavik', |
| 29 | 'Iran' => 'Asia/Tehran', |
| 30 | 'Israel' => 'Asia/Jerusalem', |
| 31 | 'Jamaica' => 'America/Jamaica', |
| 32 | 'Japan' => 'Asia/Tokyo', |
| 33 | 'Kwajalein' => 'Pacific/Kwajalein', |
| 34 | 'Libya' => 'Africa/Tripoli', |
| 35 | 'MST7MDT' => 'America/Denver', |
| 36 | 'Navajo' => 'America/Denver', |
| 37 | 'NZ-CHAT' => 'Pacific/Chatham', |
| 38 | 'Poland' => 'Europe/Warsaw', |
| 39 | 'Portugal' => 'Europe/Lisbon', |
| 40 | 'PST8PDT' => 'America/Los_Angeles', |
| 41 | 'Singapore' => 'Asia/Singapore', |
| 42 | 'Turkey' => 'Europe/Istanbul', |
| 43 | 'Universal' => 'UTC', |
| 44 | 'W-SU' => 'Europe/Moscow', |
| 45 | 'Zulu' => 'UTC', |
| 46 | ]; |
| 47 |