diff vendor/sabre/vobject/lib/timezonedata/php-workaround.php @ 7:430dbd5346f7

vendor sabre as distributed
author Charlie Root
date Sat, 13 Jan 2018 09:06:10 -0500
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/sabre/vobject/lib/timezonedata/php-workaround.php	Sat Jan 13 09:06:10 2018 -0500
@@ -0,0 +1,45 @@
+<?php
+/**
+ * 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::listIdentifiers(DateTimeZone::ALL_WITH_BC) returns them,
+ * but they are invalid for new DateTimeZone(). Fixed in PHP 5.5.17.
+ * https://bugs.php.net/bug.php?id=66985
+ *
+ * Some more info here:
+ * http://evertpot.com/php-5-5-10-timezone-changes/
+ *
+ * @copyright Copyright (C) 2011-2015 fruux GmbH (https://fruux.com/).
+ * @license http://sabre.io/license/ Modified BSD License
+ */
+return array(
+    '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',
+);