Page MenuHomePhabricator

D16865.diff
No OneTemporary

D16865.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
@@ -843,6 +843,9 @@
// These are alternate names for timezones.
$aliases = array(
'Etc/GMT' => 'UTC',
+
+ // See T11816#200486.
+ 'W. Europe Standard Time' => 'Europe/Berlin',
);
if (isset($aliases[$tzid])) {
@@ -850,7 +853,7 @@
}
// Look for something that looks like "UTC+3" or "GMT -05.00". If we find
- // anything
+ // anything, pick a timezone with that offset.
$offset_pattern =
'/'.
'(?:UTC|GMT)'.

File Metadata

Mime Type
text/plain
Expires
Sun, May 12, 2:20 PM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6289608
Default Alt Text
D16865.diff (686 B)

Event Timeline