Closed captainmorgan0 closed 8 years ago
@captainmorgan0 Could you give me a specific sample on which date you put the event so that I can try to reproduce it?
Add an all day event for May 5th
@captainmorgan0 I can't reproduce it. See the below screenshots and code snippets.
var s = new Date(Date.UTC(2016, 3, 5));
var e = new Date(Date.UTC(2016, 3, 6));
events.push({
title: 'All Day - test',
startTime: s,
endTime: e,
allDay: true
});
var s = new Date(Date.UTC(2016, 4, 5));
var e = new Date(Date.UTC(2016, 4, 6));
events.push({
title: 'All Day - test',
startTime: s,
endTime: e,
allDay: true
});
var s = new Date(Date.UTC(2016, 5, 5));
var e = new Date(Date.UTC(2016, 5, 6));
events.push({
title: 'All Day - test',
startTime: s,
endTime: e,
allDay: true
});
I now see what I was doing wrong. I had the start and end dates the same.
I have created an event in the previous month, current month and next month. When I load the calendar, in the current month view, I can see one dark blue day and 2 light blue days (for the events in the previous an next month). When I go to the previous or next month the all day event is not displayed (the day is not dark blue, it remains white). And when I click on the day it displays "No Events" You can see this event in week and day views.