Posted: December 4, 2014 at 9:08 pm
|
WordPress 4.0.1 Usecase – Whenever a user downloads and imports the ICS file for an event, the event is entered into their calendar with an incorrect start and end time. The times are imported as one hour prior to the actual event start time, respectively. I saw where you guys had a fix in 4.4.5p for “datetimes being based on UTC rather than local time” and I had hoped this would resolve the issue I’m seeing, but after updating, the issue persists. Test Note: I have also tested this with the Twenty Fourteen theme and the issue persists, so it’s not a template/theme issue. Test Note: This issue persists with every calendar I’ve tested – Google, Apple, and Outlook (on Win 7 & OSX 10.9.x) Also I thought there was a toggle in the admin for disabling the ical feature altogether, but it seems to have vanished. Was that removed? We have this issue on production, so thank you for a timely response. I need to get this resolved. Best regards, |
Hi Mike, I was able to see the issue on your site. I then checked it on another site and could not duplicate the issue. Could you let us know what you have set for your timezone in WordPress general settings? It should be a region or city near you (not a UTC setting). Thanks — |
|
|
Hi Lorenzo, To my knowledge we haven’t “set” the timezone to anything. It is using the WordPress default, which also to my knowledge is always UTC. Setting the timezone setting to “New York”, which would be the correct local time for us, changes the start and end date of every event in the system entered after November 2 1014 – when daylight savings ended this year. |
|
Hi, Also thanks for looking into this so quickly Lorenzo… I submitted the previous reply accidentally and can’t edit it, so I’ll continue here. I also tested an noted that changing the timezone is retroactive, so events set after daylight savings time in previous years are also affected. That is not a big of a deal since those events are past, but it worries me that this might also impact other date/time areas I’m not aware of or cause issues later. Is the need to set the WP time zone when using EE documented somewhere? I’m not sure I’ve ever had to change the WP default before now. Thanks, |
Hi, I believe a brand new WordPress install defaults to a UTC setting. However, Event Espresso needs to know your location/region so it can calculate the date times correctly. This requirement also applies in Event Espresso 3 and any other plugins that need to calculate your local date and time. I also missed your earlier question. Here is how to remove the iCal: https://eventespresso.com/wiki/useful-php-code-snippets/#disable-ical It can be added to a site specific plugin or your child themes functions.php file. — |
|
The support post ‘EE4 – iCal/ICS – Event Start/End Times are Incorrect after Importing to Calendar’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.