From d4985709c511de00e67aa0cdc4271013ffd40786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Sun, 15 Aug 2010 06:34:16 +0000 Subject: [PATCH] Fix recurrence enddate issue --- calendar/inc/class.calendar_ical.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index aeb1be0785..968a818c12 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -2938,8 +2938,8 @@ class calendar_ical extends calendar_boupdate $last = clone $rriter->current; $rriter->next_no_exception(); } - $delta = $event['end'] - $event['start']; - $last->modify('+' . $delta . ' seconds'); + //$delta = $event['end'] - $event['start']; + //$last->modify('+' . $delta . ' seconds'); $last->setTime(0, 0, 0); $event['recur_enddate'] = egw_time::to($last, 'server'); }