mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed my DTEND fix :-) only substract one second instead of 60 for whole day events
This commit is contained in:
parent
6173df6f48
commit
1de2cd5e23
@ -433,7 +433,7 @@
|
|||||||
case 'DTEND':
|
case 'DTEND':
|
||||||
$dtend_ts = is_numeric($attributes['value']) ? $attributes['value'] : $this->date2ts($attributes['value']);
|
$dtend_ts = is_numeric($attributes['value']) ? $attributes['value'] : $this->date2ts($attributes['value']);
|
||||||
if(date('H:i:s',$dtend_ts) == '00:00:00') {
|
if(date('H:i:s',$dtend_ts) == '00:00:00') {
|
||||||
$dtend_ts -= 60;
|
$dtend_ts--;
|
||||||
}
|
}
|
||||||
$vcardData['end'] = $dtend_ts;
|
$vcardData['end'] = $dtend_ts;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user