Forums

[Plugin: AmR iCal Events List] No end date for multi-day all day events? (7 posts)

  1. scole_direct
    Member
    Posted 2 months ago #

    Hello,

    I've got a calendar up and running with the plugin, but can't seem to configure a list layout that will show the end date for a all day multi-day event (i.e. all day Sep 14 - 18, 2009). It picks up the end date only once I add start and end times.

    Is there anyway around this issue?

    Thank you,
    Stuart

  2. anmari
    Member
    Posted 2 months ago #

    Hi Stuart

    See http://icalevents.anmari.com/1761-stuarts-calendar/,
    and check you have the latest version.

  3. scole_direct
    Member
    Posted 2 months ago #

    Hi,

    It was a version issue (I was on 2.5.1). Works well now.

    Thanks much!
    Stuart

  4. scole_direct
    Member
    Posted 2 months ago #

    Sorry, one more thing I've just noticed. While it picks up a start and end date, for some reason it's adding an additional day to the end date. So, for instance, where I have an event October 26-30 in the Google Calendar, it's showing as October 26-31 in the Wordpress plugin. At first thought this might be a timezone issue, but now I don't think so. Have you encountered this before?

    Cheers,
    Stuart

  5. anmari
    Member
    Posted 2 months ago #

    Yes! It's due to the way that the spec is defined for all day events.
    They are defined as ending the next day - not at 23.59 on the last day.
    SO your file has
    DTSTART;VALUE=DATE:20091123
    DTEND;VALUE=DATE:20091128 - 28 instead of "27"

    whereas a timed one would have 27.

    I thought I had corrected for this - it is working for single day all days, - I guess the logic is not right for all day, multi-days!

    I should have some time later this weekend to look at this.

  6. anmari
    Member
    Posted 2 months ago #

  7. scole_direct
    Member
    Posted 2 months ago #

    Hi Anmari,

    I think you've cracked it that time! That's coming through as expected now.

    Thanks much,
    Stuart

Reply

You must log in to post.

About this Topic