mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Calendar - Fix recur end date got one day sooner when you save if timezone was Tahiti
This commit is contained in:
parent
848535874e
commit
676974fcdd
@ -759,7 +759,8 @@ class calendar_rrule implements Iterator
|
||||
|
||||
if ($event['recur_enddate'])
|
||||
{
|
||||
$enddate = is_a($event['recur_enddate'],'DateTime') ? $event['recur_enddate'] : new Api\DateTime($event['recur_enddate'],$timestamp_tz);
|
||||
$enddate = is_a($event['recur_enddate'],'DateTime') ? $event['recur_enddate'] : new Api\DateTime($event['recur_enddate'],self::$tz_cache[$to_tz]);
|
||||
$enddate->setTime(23,59,59);
|
||||
}
|
||||
if (is_array($event['recur_exception']))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user