forked from extern/egroupware
alldayevents can also start and end on different days
This commit is contained in:
parent
ff137bd345
commit
a44190c281
@ -117,7 +117,8 @@
|
|||||||
if($value == 1) {
|
if($value == 1) {
|
||||||
$startParts = explode('-',$this->event['start']);
|
$startParts = explode('-',$this->event['start']);
|
||||||
$finalEvent['start'] = mktime(0, 0, 0, $startParts[1], $startParts[2], $startParts[0]);
|
$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;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user