(EE4 latest version) I have two tickets created for an event. Today I noticed the times had been changed so I went to edit them and save. After saving, the DateTime for each ticket was set back multiples hours from the value I entered. For example, I set one ticket for 9am, and upon saving it was set to 4am. The other ticket was saved as 1pm and set to 8am upon saving. Does anyone know what could be causing this?
Not within the last 2 weeks. Its set for New York time right now in WordPress->Settings->General. I’m setting the timezone in a plugin I wrote using this:
Please use current_time() instead of date_default_timezone_set(). date_default_timezone_set() will break all kinds of things related to times within WordPress. Please see this reference for more information:
Thanks for the info! I’ve updated the plugin and it seems to have resolved the issue.
Viewing 5 reply threads
The support post ‘Event and Ticket DateTime going back 3 hours’ 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.