From 587439511dc19bf0428f9c589a628b7204071b63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Lehrke?= Date: Mon, 3 May 2010 12:18:57 +0000 Subject: [PATCH] Fix all-day recurring event issue (3) --- calendar/inc/class.calendar_boupdate.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 3cbf3cd1d7..5b87a380e9 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -874,7 +874,8 @@ class calendar_boupdate extends calendar_bo $time = new egw_time($event['recur_enddate'], egw_time::$user_timezone); $time =& $this->so->startOfDay($time); $event['recur_enddate'] = egw_time::to($time, 'ts'); - $save_event['recur_enddate'] = $event['recur_enddate']; + $time->setUser(); + $save_event['recur_enddate'] = egw_time::to($time, 'ts'); } $timestamps = array('modified','created'); // all-day events are handled in server time