mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 17:18:54 +01:00
Fix recurrence enddate issue
This commit is contained in:
parent
70e0947517
commit
d4985709c5
@ -2938,8 +2938,8 @@ class calendar_ical extends calendar_boupdate
|
|||||||
$last = clone $rriter->current;
|
$last = clone $rriter->current;
|
||||||
$rriter->next_no_exception();
|
$rriter->next_no_exception();
|
||||||
}
|
}
|
||||||
$delta = $event['end'] - $event['start'];
|
//$delta = $event['end'] - $event['start'];
|
||||||
$last->modify('+' . $delta . ' seconds');
|
//$last->modify('+' . $delta . ' seconds');
|
||||||
$last->setTime(0, 0, 0);
|
$last->setTime(0, 0, 0);
|
||||||
$event['recur_enddate'] = egw_time::to($last, 'server');
|
$event['recur_enddate'] = egw_time::to($last, 'server');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user