Page MenuHomePhabricator

D16812.diff
No OneTemporary

D16812.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
Tue, Oct 15, 1:23 AM (4 w, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710783
Default Alt Text
D16812.diff (558 B)

Event Timeline