forked from extern/egroupware
Calendar - Fix recur end date got one day sooner when you save if timezone was Tahiti
This commit is contained in:
parent
ca32923fd4
commit
4ee931b203
@ -759,7 +759,8 @@ class calendar_rrule implements Iterator
|
|||||||
|
|
||||||
if ($event['recur_enddate'])
|
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']))
|
if (is_array($event['recur_exception']))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user