v3.3.11-cvs
-----------
+[jan] Fix exporting recurrence exceptions to vCalendar 1.0.
[jan] Skip event status synchronization with Outlook, which is broken.
[jan] Don't send SIF data to recent Funambol clients, unless requested.
[jan] Log all queries and errors by the history library.
v2.3.6-cvs
----------
-
+[jan] Export recurrence exceptions in a more portable way.
------
}
/* The remaining exceptions represent deleted recurrences */
+ $exdates = array();
foreach ($exceptions as $exception) {
if (!empty($exception)) {
list($year, $month, $mday) = sscanf($exception, '%04d%02d%02d');
- $exdate = new Horde_Date($year, $month, $mday);
- $vEvent->setAttribute('EXDATE', array($exdate));
+ $exdates[] = new Horde_Date($year, $month, $mday);
}
}
+ if ($exdates) {
+ $vEvent->setAttribute('EXDATE', $exdates);
+ }
}
array_unshift($vEvents, $vEvent);
$object->recurrence->setRecurType(Horde_Date_Recurrence::RECUR_MONTHLY_DATE);
$object->recurrence->setRecurInterval(1);
$object->recurrence->addException(2007, 4, 15);
+$object->recurrence->addException(2007, 6, 15);
$object->attendees =
array('juergen@example.com' =>
array('attendance' => Kronolith::PART_REQUIRED,
ATTENDEE;EXPECT=FYI;STATUS=TENTATIVE:jenny@example.com
AALARM:20070315T120020Z
RRULE:MD1 15 #0
-EXDATE:20070415T111020Z
+EXDATE:20070415T111020Z;20070615T111020Z
END:VEVENT
END:VCALENDAR
Doe:mailto:jack@example.com
ATTENDEE;ROLE=NON-PARTICIPANT;PARTSTAT=TENTATIVE:mailto:jenny@example.com
RRULE:FREQ=MONTHLY;INTERVAL=1
-EXDATE:20070415T111020Z
+EXDATE:20070415T111020Z,20070615T111020Z
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT10M