* 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:27:07 +00:00
parent 8fb6326dbd
commit 235365ac3c

View File

@ -653,7 +653,8 @@ class calendar_ical extends calendar_boupdate
} }
if ($version != '1.0') 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; if (!empty($tzid)) $parameters['EXDATE']['TZID'] = $tzid;
} }
} }