Support

Home Forums Event Espresso Premium Time Zone in ICS/ICAL file

Time Zone in ICS/ICAL file

Posted: August 20, 2013 at 3:12 pm


Paul Pehrson

August 20, 2013 at 3:12 pm

How do I set the timezone in the ICS/ICAL downloadable file? I see that I can enable this option under “Event Template Settings”, but I had a user in the Atlantic time zone download the file, and it showed the incorrect time for her time zone.


Dean

August 21, 2013 at 2:17 am

Hi,

It should automatically set the correct timezone, it certainly does in Google Calendar. Which calendar program is she inserting the ICS file into?


Paul Pehrson

August 22, 2013 at 11:52 am

She is inserting it into Outlook, I believe. I don’t know how to test this because I am IN my time zone. I tried to change the setting that makes time zone an editable field on the event creation form, but it is already set to my time zone (Mountain), so I’m not sure what will be different.

I wish there were an easy way to indicate that the event time was specific to a time zone.


Sidney Harrell

August 22, 2013 at 2:24 pm

Your ICS file is showing:
X-WR-TIMEZONE:America/Denver
which is standard for apple’s iCal and google calendar. Microsoft uses a different system, however.
You could try the following modification to make it Microsoft friendly. In includes/functions/ical.php on line 13, change it to:

"X-WR-TIMEZONE: UTC\n" .

Then insert the following into line 77:

date_default_timezone_set('UTC');

so that lines 76-78 read as:

}
		date_default_timezone_set('UTC');
		$array = array(

This should convert the event times to UTC, and set the timezone of the iCal file to UTC, so that it will work in apple’s iCal, google calendar, and outlook.

The support post ‘Time Zone in ICS/ICAL file’ 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  Sidney Harrell 6 years, 3 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.