Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14044712
D16812.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.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, Nov 13, 7:57 PM (7 h, 44 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6710783
Default Alt Text
D16812.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