My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 2252: Failed to display 2 days allDay events really in 2 days
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Aug 2014


Sign in to add a comment
 
Reported by blackcat...@gmail.com, Aug 22, 2014
I am trying to display a 2 days allDay event. I used the following examples:
{title: 'Event A', start: moment('2014-08-01'), end: moment('2014-08-01'), allDay: true}
{title: 'Event B', start: moment('2014-08-04'), end: moment('2014-08-05'), allDay: true}
Is it correct to display both Event A and Event B in only one day?
But Google calendar is able to displays Event B in 2 days.

Aug 22, 2014
Project Member #1 adamrs...@gmail.com
the reason example A appears as one day is b/c the end date is considered invalid and thrown away if it is the same as the start.

the reason example B appears as one day is because the end date is always exclusive, as described here:
http://arshaw.com/fullcalendar/docs/event_data/Event_Object/
Status: Done
Sign in to add a comment

Powered by Google Project Hosting