mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-22 05:49:03 +01:00
Fix recurrence enddate issue
This commit is contained in:
parent
9a85dad709
commit
965dd4a42f
@ -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