mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
fix for bug [ 1022185 ] Last day of event shows 00:00:00 00:00:00
This commit is contained in:
parent
2f10c7a587
commit
7479c7f40a
@ -2122,7 +2122,8 @@
|
||||
continue; // fetch recuring events only in 2. loop
|
||||
}
|
||||
$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;
|
||||
if($startdate != $enddate)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user