Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14289827
D16812.id40487.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
558 B
Referenced Files
None
Subscribers
None
D16812.id40487.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16812: In Calendar ICS imports, parse "Etc/GMT" as "UTC"
Attached
Detach File
Event Timeline
Log In to Comment