* CalDAV: fixed not working exceptions of recuring events in iCal on iOS or OS X (skipping optional and default VALUE=DATE-TIME attribute in iCal EXDATE component)

This commit is contained in:
Ralf Becker 2012-05-10 11:25:55 +00:00
parent fd276eb3b7
commit 84bc15ebba

View File

@ -653,7 +653,8 @@ class calendar_ical extends calendar_boupdate
}
if ($version != '1.0')
{
$parameters['EXDATE']['VALUE'] = 'DATE-TIME';
// VALUE=DATE-TIME is default and optional
// adding it causes iCal on iOS 5.1.1 / OSX 10.7.4 to fail to recognice exceptions
if (!empty($tzid)) $parameters['EXDATE']['TZID'] = $tzid;
}
}