Support » Plugin: ICS Calendar » pastdays 365 with missing events

  • Resolved francoisA


    I have a link to my ICS event, but, if I had pastdays=”360″, I cannot see the december events.
    If I reduce the pastdays to 300, I see my events.
    In debug mode, I can’t see the events december with 360, but they are in the downloaded .ICS file.
    Compare this 2 links :

    [ics_calendar url="" description="Tous les événements et ateliers" pastdays="360" eventdesc="true" showendtimes="true" reload="true" debug="true"]
    [ics_calendar url="" description="Tous les événements et ateliers" pastdays="300" eventdesc="true" showendtimes="true" reload="true" debug="true"]

    I can see there is a default limit in the debug mode :

     [limitdays] => 365

    If I increase the limitdays to 400, I see all my events, but the futur months are shown, with no events.

    Thanks a lot for this good plugin, so efficient, with GNU/GPL licence !

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author room34


    You need to use pastdays and limitdays in combination to determine how far into the future events display. Also note that in some views (especially the default month view), these counts are approximate, because it will go back to the first day of the first month it shows. (You’re right, there’s a slight bug there because while it rewinds to the beginning of the first month, it doesn’t push forward to the end of the last month. But practically speaking this is rarely an issue.)

    Is there a reason for you not to put limitdays a lot farther in the future, like 730?

    Thread Starter francoisA


    I only just want to show month with events. If I put limitdays = 730, the next months will be shown , but they will be empty.

    Plugin Author room34


    I’ll look into adding an option to stop at the last event in the feed, rather than pushing out to an arbitrary number of days. Most of the requests I’ve gotten for these types of customizations have wanted to show a set number of months out, even if they were empty, so I’ve tailored the current functionality to that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘pastdays 365 with missing events’ is closed to new replies.