mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
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
80f9969ee3
commit
946ecb41b2
@ -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