Fix all-day recurring event issue (3)

This commit is contained in:
Jörg Lehrke 2010-05-03 12:18:57 +00:00
parent f18fc53362
commit 587439511d

View File

@ -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