Support

Home Forums Event Espresso Premium EE4 – iCal/ICS – Event Start/End Times are Incorrect after Importing to Calendar

EE4 – iCal/ICS – Event Start/End Times are Incorrect after Importing to Calendar

Posted: December 4, 2014 at 9:08 pm


Mike Wilson

December 4, 2014 at 9:08 pm

WordPress 4.0.1
Event Espresso Version 4.4.5.p
Event Espresso – Calendar Version 3.1.0.p
Existing Installation – updated on Thursday, Dec 4 (4.4.3p -> 4.4.5p)
Browsers – Chrome Version 39.0.2171.71, FireFox Version 34.0
I currently only have the 4.4.5p update in staging (http://premierha.staging.wpengine.com/events/), but the issue is also present in 4.4.3p in our production environment (https://www.premierinc.com/events/).

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,
Mike Wilson


Lorenzo Orlando Caum

  • Support Staff

December 5, 2014 at 12:27 am

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


Lorenzo


Mike Wilson

December 5, 2014 at 7:43 am

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.


Mike Wilson

December 5, 2014 at 7:53 am

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,
Mike Wilson


Lorenzo Orlando Caum

  • Support Staff

December 5, 2014 at 9:15 am

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:

http://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.


Lorenzo

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Lorenzo Orlando Caum 5 years ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!