Commit 5a8c3800 authored by Karl Denninger's avatar Karl Denninger

ZP-1285 Missed other instance of timezone lookup in Recurrence -- fixed.

Note: Needs more eyeballs; this appears correct but the original code goes
back a *long* way, and until recently I had not noted problems with time
zone conversion.  Why it failed now, but not before, is not clear.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 5238cd07
...@@ -557,7 +557,7 @@ class BackendCalDAV extends BackendDiff { ...@@ -557,7 +557,7 @@ class BackendCalDAV extends BackendDiff {
if (count($rec) > 0) { if (count($rec) > 0) {
$recurrence_id = reset($rec); $recurrence_id = reset($rec);
$exception = new SyncAppointmentException(); $exception = new SyncAppointmentException();
$tzid = TimezoneUtil::ParseTimezone($recurrence_id->GetParameterValue("TZID")); $tzid = TimezoneUtil::GetPhpSupportedTimezone($recurrence_id->GetParameterValue("TZID"));
if (!$tzid) { if (!$tzid) {
$tzid = $timezone; $tzid = $timezone;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment