forked from extern/egroupware
Calendar - Fix daily recurring recur end date got one day later when you save if timezone was Tahiti
This commit is contained in:
parent
d6bfd0aab2
commit
fceaabadd1
@ -1182,7 +1182,7 @@ class calendar_boupdate extends calendar_bo
|
|||||||
// set recur-enddate/range-end to real end-date of last recurrence
|
// set recur-enddate/range-end to real end-date of last recurrence
|
||||||
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'])
|
if ($event['recur_type'] != MCAL_RECUR_NONE && $event['recur_enddate'])
|
||||||
{
|
{
|
||||||
$rrule = calendar_rrule::event2rrule($event, false);
|
$rrule = calendar_rrule::event2rrule($event);
|
||||||
$rrule->rewind();
|
$rrule->rewind();
|
||||||
$enddate = $rrule->current();
|
$enddate = $rrule->current();
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user