• Dear Joe,

    I am experiencing a very strange behaviour lately. After the latest plugin upgrade the iCal export outputs empty event (with date 1/1/1970, all other fields are empty). The export for events I have added before the upgrade (a week or two ago) works as desired.
    Google Calendar export works in both cases correctly (there is one bug though which I will describe next).

    Another problem I have noticed is with multiple days events.
    I have an event going on from e.g. 27/9/2014 – 2/29/2014 (3 days). This is what I have entered to the form and what is showing up when I wish to edit the event.
    On the calendar the event appears only twice 27/9/2014 and 28/9/2014, but not 29/9/2014. When I export the event to Google Calendar the result is the same – 28/9/2014 is set as the end date.

    Best,

    Plugin version: 2.3.14

    https://wordpress.org/plugins/my-calendar/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Dr_jAcKaSS

    (@dr_jackass)

    Ok, I have to update my post slightly:

    The first issue I have described appears on mini calendar, but not in the full (grid) view.
    Somehow, the link in the grid view is:
    http://www.some-domain.com/?vcal=mc_469
    while the link in mini calendar is:
    http://localhost/some-domain/web/?page_id=602&vcal=469 (my testing server)

    I have moved the upgraded website to online server about the same time with the plugin update, but I have no idea why links in mini calendar refer to testing server?!

    So since newly added events are of course not in the database of my testing server the output is empty.

    What concerns the second issue:
    The iCal exported event appears correctly – the event lasts 3 days and finishes on 29/9/2014 (there is a mistake in time period in my first post 27/9/2014 – 29/9/2014).

    So the “Edit Event” form (in WP backend) and iCal show the correct dates.
    Mini calendar, Grid View and Google Calendar Export show event one day shorter as entered.

    Plugin Author Joe Dolson

    (@joedolson)

    What are the URLs stored in your settings for the mini calendar links?

    Is the event you’re looking at ending at midnight on the 29th? If so, then it won’t show up on the calendar, because midnight is the beginning of the 29th; you’d need it to be ending at midnight on the 30th.

    I’ll need to make an update so that the same filtering that happens in the calendar views also happens in the iCal export.

    Thread Starter Dr_jAcKaSS

    (@dr_jackass)

    Issue no. 1 solved!
    I had a wrong http address here. Perhaps you could allow relative links in future releases?
    (Though I would never ever guess the setting for “Where is your main calendar page?” is anyway related to generating iCal event export).

    Issue no. 2
    I have not entered any start or end hour in the form. I have checked “All day long” event though.
    When I export event to iCal, it says starting at 1 am 27/9/2014 and finishing at 1 am 29/9/2014.

    According to what I have entered into the form one would expect event to last from 0:00 27/9/2014 to 24:00 or 23:59 29/9/2014, wouldn’t he? I believe the bug is in interpretation of 0:00.

    Thanks for all your help!

    Plugin Author Joe Dolson

    (@joedolson)

    An all day event actually lasts In My Calendar) from midnight to midnight the next day; there’s some UI that needs clarification there.

    If you add an event that runs from the 27th to the 29th and is all day, it should automatically be updated to run from the 27th to the 30th; but if you’re editing an event, it doesn’t automatically modify the dates, just takes what you enter.

    Wouldn’t it make more sense to end the events at 11:59pm on the correct day instead of 12:am the following day?

    I’m running into this same issue on a custom site and when you go back an edit an event it really throws things off.

    Plugin Author Joe Dolson

    (@joedolson)

    I used to do that; people complained about it, and eventually I chose to change it.

    Honestly, I’m thinking of changing it back – I was convinced that this was a good idea, but frankly…way more trouble than it’s worth.

    That won’t happen sooner than 2.4.0, however.

    That sounds good. I definitely think that is the best way to go. You could even do 11:59 and 59 seconds if people are really worried about 1 second.

    Plugin Author Joe Dolson

    (@joedolson)

    People’s complaints were mostly about display; that 11:59 would display instead of midnight, when they wanted to display the end time of an event.

    But it would have been much easier to filter 11:59 to display as 12:00 than what I am doing. (Obvious now, but sometimes you have to make the mistake first, I guess.)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘iCal export not working for events added after plugin upgrade’ is closed to new replies.