Skip to content

Full Calendar multi day bugs #1221

Closed
Closed

Description

@itg-assistant

Matthew Ferry asked 2017-11-22 04:55:10 UTC

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

Activity

  1. itg-assistant commented on Jun 12, 2026

    @itg-assistant
    Author

    Luca answered 2017-11-22 23:28:51 UTC

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions