mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
fixed Warning: DateTime::modify(): Failed to parse time string (1234.5 second) at position 7 (s): The timezone could not be found in the database, caused by second fraction
This commit is contained in:
parent
378526a648
commit
d2a87d2de4
@ -629,7 +629,7 @@ class calendar_ical extends calendar_boupdate
|
||||
else
|
||||
{
|
||||
$length = ($event['end'] - $event['start']) / 2;
|
||||
$rrule['UNTIL']->modify($length . ' second');
|
||||
$rrule['UNTIL']->modify((int)$length . ' second');
|
||||
}
|
||||
|
||||
if (!$tzid || $version != '1.0')
|
||||
|
Loading…
Reference in New Issue
Block a user