forked from extern/egroupware
fix for bug [ 1022185 ] Last day of event shows 00:00:00 00:00:00
This commit is contained in:
parent
4dbb0df8fa
commit
b775e8ca4c
@ -2108,7 +2108,8 @@
|
|||||||
continue; // fetch recuring events only in 2. loop
|
continue; // fetch recuring events only in 2. loop
|
||||||
}
|
}
|
||||||
$startdate = (int)(date('Ymd',$this->maketime($event['start'])));
|
$startdate = (int)(date('Ymd',$this->maketime($event['start'])));
|
||||||
$enddate = (int)(date('Ymd',$this->maketime($event['end'])));
|
// maketime($event['end'][)-1 to allow events to end on a full hour/day without the need to enter it as minute=59
|
||||||
|
$enddate = (int)(date('Ymd',$this->maketime($event['end'])-1));
|
||||||
$this->cached_events[$startdate][] = $event;
|
$this->cached_events[$startdate][] = $event;
|
||||||
if($startdate != $enddate)
|
if($startdate != $enddate)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user