mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Calendar - Fix daily recurring recur end date got one day later when you save if timezone was Tahiti
This commit is contained in:
parent
63e0157baf
commit
8e13f3977f
@ -895,8 +895,6 @@ class calendar_bo
|
||||
}
|
||||
}
|
||||
if (!$start) $start = $event['start'];
|
||||
$start_obj = new Api\DateTime($start);
|
||||
$read_start = new Api\DateTime($event_read['start']);
|
||||
|
||||
$events = array();
|
||||
$this->insert_all_recurrences($event,$start,$this->date2usertime($this->config['horizont']),$events);
|
||||
|
@ -1182,7 +1182,7 @@ class calendar_boupdate extends calendar_bo
|
||||
// set recur-enddate/range-end to real end-date of last recurrence
|
||||
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'])
|
||||
{
|
||||
$rrule = calendar_rrule::event2rrule($event, false);
|
||||
$rrule = calendar_rrule::event2rrule($event);
|
||||
$rrule->rewind();
|
||||
$enddate = $rrule->current();
|
||||
do
|
||||
|
Loading…
Reference in New Issue
Block a user