summaryrefslogtreecommitdiff
path: root/plugins/calendar/drivers/kolab/kolab_driver.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/calendar/drivers/kolab/kolab_driver.php')
-rw-r--r--plugins/calendar/drivers/kolab/kolab_driver.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/calendar/drivers/kolab/kolab_driver.php b/plugins/calendar/drivers/kolab/kolab_driver.php
index 3e3f0fc..0a9790c 100644
--- a/plugins/calendar/drivers/kolab/kolab_driver.php
+++ b/plugins/calendar/drivers/kolab/kolab_driver.php
@@ -1674,10 +1674,10 @@ class kolab_driver extends calendar_driver
unset($record['recurrence']);
// add instance identifier to first occurrence (master event)
+ // do not add 'recurrence_date' though in order to keep the master even being exported as such
if ($record['recurrence'] && !$record['recurrence_id'] && !$record['_instance']) {
- $recurrence_id_format = $event['allday'] ? 'Ymd' : 'Ymd\THis';
- $record['recurrence_date'] = $record['start'];
- $record['_instance'] = $record['recurrence_date']->format($recurrence_id_format);
+ $recurrence_id_format = $record['allday'] ? 'Ymd' : 'Ymd\THis';
+ $record['_instance'] = $record['start']->format($recurrence_id_format);
}
// remove internals