mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
merged r28889 von Jaytraxx: substract only one second from incoming whole day events because EGw stores whole day events with DTEND 23:59:59
This commit is contained in:
parent
749b755a18
commit
ae34dae240
@ -1562,7 +1562,7 @@ class calendar_ical extends calendar_boupdate
|
||||
$dtend_ts = is_numeric($attributes['value']) ? $attributes['value'] : $this->date2ts($attributes['value']);
|
||||
if (date('H:i:s',$dtend_ts) == '00:00:00')
|
||||
{
|
||||
$dtend_ts -= 60;
|
||||
$dtend_ts -= 1;
|
||||
}
|
||||
$vcardData['end'] = $dtend_ts;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user