mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Fix events that end at midnight can cause events from the next day to not be displayed
This commit is contained in:
parent
78880b5238
commit
775e92a89f
@ -866,7 +866,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
|
|||||||
if(!event) continue;
|
if(!event) continue;
|
||||||
if(event.date && event.date != this.options.date &&
|
if(event.date && event.date != this.options.date &&
|
||||||
// Multi-day events date may be different
|
// Multi-day events date may be different
|
||||||
(new Date(event.start) >= this.date || new Date(event.end) <= this.date )
|
(new Date(event.start) >= this.date || new Date(event.end) < this.date )
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// Still have a child event that has changed date (DnD)
|
// Still have a child event that has changed date (DnD)
|
||||||
|
Loading…
Reference in New Issue
Block a user