Support

Home Forums Event Espresso Premium How is the iCal link time zone calulated?

How is the iCal link time zone calulated?

Posted: October 22, 2018 at 3:59 pm


lbenson

October 22, 2018 at 3:59 pm

I have an event in the Pacific time zone starting at 8:00am Pacific. I have built the event from a site in the Mountain Time zone and specified a venue in the Pacific time zone, but the iCal link on the registration approved email loads the event at 7:00am. The WordPress Settings are set to a Mountain time zone city.
Any ideas if/how to set the time for a venue or is that automatic for the location? Any help appreciated.


Tony

  • Support Staff

October 23, 2018 at 4:19 am

Hi there,

We don’t currently have an option to set timezones per event/venue, EE should use the timezone set within Dashboard -> Settings -> General -> Timezone for all date/times.

Is the iCal the only output that is not correct? For example are the datetimes shown on the front end correct?


lbenson

October 23, 2018 at 9:23 am

Yes, everything is correct except the iCal.


Josh

  • Support Staff

October 24, 2018 at 12:12 pm

Hi,

One day, Event Espresso could have a multiple timezone feature. Until then, work-arounds exist to work around the lack of multiple timezone features. One workaround you could use would be to set a custom field on the event located in the Pacific timezone. e.g. set the key as
event_timezone and value Pacific, like in this screenshot:
https://slack-files.com/T02SY781D-FDM0A5DCZ-d2e7077af7

Then, you’ll add the following PHP code to your site:

https://gist.github.com/joshfeck/66381e3defa0cd8e7d415edb4348be49

You can add the above to a functions plugin, this documentation shows how to do that.

What that will do is add a one hour offset on ical times for events that set Pacific for that custom field.

The support post ‘How is the iCal link time zone calulated?’ 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  Josh 1 year, 1 month ago ago

Topic Tags

Tagged: ,

Notifications

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