• Resolved gebauer

    (@gebauer)


    Hi,

    thanks or this great plugin. I am using it to get an ICS file from our vacation planer and show it on our internal homepage.

    As vacations are normally multi-day events they are described in ICS like:

    BEGIN:VEVENT
    DTSTAMP:20230511T064737Z
    DTSTART;VALUE=DATE:20230616
    DTEND;VALUE=DATE:20230621
    SUMMARY:Someone on Vacation
    X-MICROSOFT-CDO-ALLDAYEVENT:TRUE
    UID:3CXXXXXXXXXXXXXXA4541A3
    ATTENDEE;ROLE=REQ-PARTICIPANT;CN=Retadcted:mailto:[email protected]
    TRANSP:TRANSPARENT
    ORGANIZER:mailto:[email protected]
    END:VEVENT
    

    What I noticed is that ICS Calendar shows this event starting on 16-06-2023 00:00 and ending 21-06-2023 24:00. What this entry actually means (and my other ICS clients show it correctly) is 16-06-2023/ 00:00 to 21-06-2023 /00:00. So the event (here vacation) only include the 20-06-2023.

    Is this an error in the ICS generating software? Or is this the normal way mulit-day events should be specified and ICS calendar is interpreting it incorrectly.

    Currently, the ICS-Calendar always shows one day more than the ICS implies to…

    Best,
    Jan

    • This topic was modified 1 year, 6 months ago by gebauer.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author room34

    (@room34)

    This is just a quirk of how the iCalendar spec handles all-day, multi-day events. ICS Calendar should work around this accurately though as long as you have your timezone set correctly (i.e. the same as what the source calendar is using). This can be done either with the WordPress general timezone setting (the default), or by using the tz parameter in your shortcode.

    More often, we’ve seen the issue that the multi-day events for bookings end one day early, and for that we added the extendmultiday parameter. If you happen to be using that, try turning it off.

    Thread Starter gebauer

    (@gebauer)

    Hi Room34,

    thanks for the quick response. I have to admit it was my fault – to many trials and that forgot to some older settings. The plugins works great and as intended (if you RTFM ??).

    Thanks again,
    Jan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multi day events are shown 1 day longer than expected’ is closed to new replies.