I’m a developer on a WP website that uses a lot of Event Espresso events. I recently realized that the sitewide WP settings have our time zone as GMT 0, but we are actually in GMT -4, or Eastern Time. When I went to reset the sitewide time zone to Eastern Time, it changed all the event times to 3 or 4 hours earlier.
The problem with having the incorrect time zone is that when people download an .ics file of the event, it gives them the wrong time. So if the event is listed as being at 7pm, it displays as 3pm in my (Eastern Time) calendar, even though we actually did mean 7pm Eastern.
What I’m wondering is – is there any way to change the website-wide time zone without changing the Event Espresso listed times? Or is there a script I can run to fix all the event times at once?
Rather than selecting a manual offset, select a location closest to you/the sites ‘real’ timezone in Dashboard -> Settings -> General.
Before moving forward I highly recommend you create a database backup, I’m guessing you already have but if not, create one now or better yet, confirm the below steps work as expected on a staging site first.
Then go to Event Espresso -> Maintenance -> Datetime Utilities.
(Make sure your timezone is set correctly before doing this)
Then set the offsite you want to apply (which appears to be -4.0 form above) and apply. That should fix all datetimes within your DB to use the correct offset.
Viewing 1 reply thread
The support post ‘WP Site had wrong time zone – need to fix event times’ 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.