Full Calendar multi day bugs

0
0

I think I may have found a couple bugs in FullCalendar extension.

 

# 1: If I create an event with a start date of 11/23/2017 12:00:00 AM   and end date of 11/24/2017 9:00:00 AM – I get an event on the calendar that crosses two days – from 23rd to 24th – as I would expect. However if I create the same event – but with an end date of one hour earlier (8:00:00 AM) – then the event that shows on the calendar is only one day – for the 23rd. It seems that for an event to cross days it has to be 33 or more hours long?  Can that be right?

# 2: ALSO – it seems that if I create an event that starts Jan 17 2018 and ends Feb 20 2018 – the event only displays in January. Flip to February and it will not show.

This calendar is not in virtual mode.

Thanks in advance…

 

Matthew

  • You must to post comments
0
0

1: It’s an option in the fullcalendar that is not exposed https://fullcalendar.io/docs/event_rendering/nextDayThreshold/. We’ll add a new property NextDayThreshold and upload the source code in /extensions tomorrow. If you build the FullCalendar extension, you can add it in BuildInitScript().

2: It’s a bug in OnWebDataRead. This will also be in the downloadable sources tomorrow. If you build from the source, this is the fix.

var list = this.Events.Where(o =>
(o.Start >= start && o.Start <= end) || (o.End >= start && o.End <= end)
);

Thanks!

/Luca

 

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.