fixed my DTEND fix :-) only substract one second instead of 60 for whole day events

This commit is contained in:
Christian Binder 2006-11-08 12:16:00 +00:00
parent 6173df6f48
commit 1de2cd5e23

View File

@ -433,7 +433,7 @@
case 'DTEND':
$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--;
}
$vcardData['end'] = $dtend_ts;
break;