Fullcalendar doesn't show correctly event in month mode -


i have problem fullcalendar, have event occurs on day 3 , day 4, when event ends before 9am, month mode shown 1 day, look:

week: (ending before 9am)

enter image description here

month:

enter image description here

week: (ending after 9am)

enter image description here

month:

enter image description here

how fix it? want show event in month on both days.

you need change nextdaythreshold properties hour event display according needs.

from docs:

when event's end time spans day, minimum time must in order render if on day.

duration, default: "09:00:00" (9am)

only affects timed events appear on whole-days. whole-day cells occur in month view, basicday, basicweek , all-day slots in agenda views.

example (docs)

{ start: '2014-02-04t20:00:00', end: '2014-02-05t02:00:00' } // goes 8pm 2am next day 

more info at: http://fullcalendar.io/docs/event_rendering/nextdaythreshold/


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - ng-class not responding to change in model in Angular? -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -