Fix events that end at midnight can cause events from the next day to not be displayed

This commit is contained in:
nathangray 2017-03-09 12:43:54 -07:00
parent 78880b5238
commit 775e92a89f

View File

@ -866,7 +866,7 @@ var et2_calendar_daycol = (function(){ "use strict"; return et2_valueWidget.exte
if(!event) continue;
if(event.date && event.date != this.options.date &&
// 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)