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
Hi Stuart
See http://icalevents.anmari.com/1761-stuarts-calendar/,
and check you have the latest version.
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
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
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.
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