Module: Tilia::VObject::TimeZoneData::PhpZones
- Defined in:
- lib/tilia/v_object/time_zone_data/php_zones.rb
Overview
A list of PHP timezones that were supported until 5.5.9, removed in PHP 5.5.10 and re-introduced in PHP 5.5.17.
DateTimeZone::list_identifiers(DateTimeZone::ALL_WITH_BC) returns them, but they are invalid for new Date_time_zone. Fixed in PHP 5.5.17. bugs.php.net/bug.php?id=66985
Some more info here: evertpot.com/php-5-5-10-timezone-changes/
Class Method Summary collapse
Class Method Details
.list ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/tilia/v_object/time_zone_data/php_zones.rb', line 14 def self.list { 'CST6CDT' => 'America/Chicago', 'Cuba' => 'America/Havana', 'Egypt' => 'Africa/Cairo', 'Eire' => 'Europe/Dublin', 'EST5EDT' => 'America/New_York', 'Factory' => 'UTC', 'GB-Eire' => 'Europe/London', 'GMT0' => 'UTC', 'Greenwich' => 'UTC', 'Hongkong' => 'Asia/Hong_Kong', 'Iceland' => 'Atlantic/Reykjavik', 'Iran' => 'Asia/Tehran', 'Israel' => 'Asia/Jerusalem', 'Jamaica' => 'America/Jamaica', 'Japan' => 'Asia/Tokyo', 'Kwajalein' => 'Pacific/Kwajalein', 'Libya' => 'Africa/Tripoli', 'MST7MDT' => 'America/Denver', 'Navajo' => 'America/Denver', 'NZ-CHAT' => 'Pacific/Chatham', 'Poland' => 'Europe/Warsaw', 'Portugal' => 'Europe/Lisbon', 'PST8PDT' => 'America/Los_Angeles', 'Singapore' => 'Asia/Singapore', 'Turkey' => 'Europe/Istanbul', 'Universal' => 'UTC', 'W-SU' => 'Europe/Moscow', 'Zulu' => 'UTC' } end |