Fullcalendar with strange behavior when displaying events in "Month View" ending before 9 o'clock

Asked

Viewed 190 times

0

Fullcalendar has a default behavior for display on Month view that ignores the end of events when they end before 9 am, example:

Week view: (ending before 9am of day 4)

inserir a descrição da imagem aqui

As shown in Month view:

inserir a descrição da imagem aqui

Week view: (ending after 9am on the 4th)

inserir a descrição da imagem aqui

As shown in Month view:

inserir a descrição da imagem aqui

Does anyone know how to fix this? I would like the event to be shown on the 3rd and 4th even if it ends before 9 o'clock.

1 answer

0


To change this default behavior you need to change the property nextDayThreshold, responsible for setting the minimum hours to be considered an event day in the Month view. It is by default "09:00:00" (9am) according to the documentation:

When an Event’s end time spans into Another day, the minimum time it must be in order for it to render as if it Were on that day.

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

More information on http://fullcalendar.io/docs/event_rendering/nextDayThreshold/

Browser other questions tagged

You are not signed in. Login or sign up in order to post.