From 84bc15ebba887074782c83a6cc067f730d07018e Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 10 May 2012 11:25:55 +0000 Subject: [PATCH] * 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) --- calendar/inc/class.calendar_ical.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index 20f00b499f..73f7c96172 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -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; } }