Page MenuHomePhabricator

D16812.id40487.diff
No OneTemporary

D16812.id40487.diff

diff --git a/src/parser/calendar/ics/PhutilICSParser.php b/src/parser/calendar/ics/PhutilICSParser.php
--- a/src/parser/calendar/ics/PhutilICSParser.php
+++ b/src/parser/calendar/ics/PhutilICSParser.php
@@ -840,6 +840,15 @@
return $tzid;
}
+ // These are alternate names for timezones.
+ $aliases = array(
+ 'Etc/GMT' => 'UTC',
+ );
+
+ if (isset($aliases[$tzid])) {
+ return $aliases[$tzid];
+ }
+
// Look for something that looks like "UTC+3" or "GMT -05.00". If we find
// anything
$offset_pattern =

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 18, 8:13 AM (14 m, 1 s)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6901286
Default Alt Text
D16812.id40487.diff (558 B)

Event Timeline