alldayevents can also start and end on different days

This commit is contained in:
Lars Kneschke 2006-10-27 05:54:11 +00:00
parent ff137bd345
commit a44190c281

View File

@ -117,7 +117,8 @@
if($value == 1) {
$startParts = explode('-',$this->event['start']);
$finalEvent['start'] = mktime(0, 0, 0, $startParts[1], $startParts[2], $startParts[0]);
$finalEvent['end'] = mktime(23, 59, 59, $startParts[1], $startParts[2], $startParts[0]);
$endParts = explode('-',$this->event['end']);
$finalEvent['end'] = mktime(23, 59, 59, $endParts[1], $endParts[2], $endParts[0]);
}
break;