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.
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.
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!
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.
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.
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.)