Support

Home Forums Event Espresso Premium Event times not correct after being set in Event Tickets & Datetimes

Event times not correct after being set in Event Tickets & Datetimes

Posted: August 16, 2021 at 4:22 pm

Viewing 9 reply threads


dassaultfalcon

August 16, 2021 at 4:22 pm

For some reason, after I set the date and times for an event, the time itself on the events view (and on the backend) are always a few minutes off. For example, setting a time of 9:00 AM results in 9:10 AM. The offset from my intended time seems to be random as I cannot get it to display the time I want no matter what I set it to.

I’ve checked my plugins and themes for any code that would mess with the time in WordPress and can’t find anything that is obvious. I only have a handful of plugins, Event Espresso being the only one that touches datetimes, and all of my themes are included with WordPress and unmodified.


Tony

  • Support Staff

August 17, 2021 at 5:48 am

Hi there,

Are you using Advanced Custom Fields and loading you own date fields in EE?

Can you add a screenshot of the datepicker shown on the page? I’ve seen it were another (similar) datepicker was loading on the page which then applied its own offset and threw out the values.

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


dassaultfalcon

August 17, 2021 at 8:27 am

Hi Tony,

I am not currently using Advanced Custom Fields. Here is the link to the datepicker screenshot: https://snipboard.io/ND4WAn.jpg

Thanks!


Tony

  • Support Staff

August 17, 2021 at 9:01 am

Hmm, yeah thats looks like our datepicker.

What I would do is test an event with only Event Espresso activated, you can do that using the WP Health Check & Troubleshooting plugin:

https://wordpress.org/plugins/health-check/

Create a database backup just to be safe.

Install that plugin and go to Tools -> Site Health -> Troubleshooting.

Enable troubleshooting mode.

That will de-activate all plugins and switch you to a default theme if your not already using one (but only for you, the logged in admin).

In the admin bar at the top go to Troubleshooting modern -> Manage Active plugins.

Enabled just Event Espresso.

Retest the above, do the times still shift?

If not, enable each of your site’s plugins one by one using the same method as above and retest updating the event until it starts again and let me know which plugin you activated.

If it does still do it with just Event Espresso installed we can investigate a little further.


dassaultfalcon

August 17, 2021 at 10:04 am

Looks like the times are still shifting even when just Event Espresso is active in Troubleshooting Mode.


dassaultfalcon

August 23, 2021 at 10:44 am

Hello, just following up on this issue. The event times are still not behaving correctly, maybe there’s a line of PHP somewhere that needs to be adjusted.


Tony

  • Support Staff

August 24, 2021 at 5:20 am

Apologies for the delay, I’ve been looking into this but so far I’ve been unable to reproduce.

Can I take a look in the admin to see if anything stands out? If that’s ok you can use this form to send temp login details:

https://eventespresso.com/send-login-details/


dassaultfalcon

August 26, 2021 at 3:23 pm

Looks like I’ve just figured it out, I previously used a custom Time Format string set to h:m A for the event Times in order to get a leading 0 for times where the hour was one digit. I ended up mistakenly using the month string m instead of the proper minute string i, resulting in month numeric values where the minutes should be. Just a silly mistake overall, hope it wasn’t too much of an inconvenience for your team.


dassaultfalcon

August 26, 2021 at 3:23 pm

This reply has been marked as private.


Tony

  • Support Staff

August 27, 2021 at 6:30 am

Hi there,

Firstly, nice find! That’s something I’m going to add to my checklist for this as it’s easily missed and subtly fails.

With regards to your private reply, I can’t do that on the forums but I’ve sent this over to our sales team whoc should be able to address this for you.

Viewing 9 reply threads

The support post ‘Event times not correct after being set in Event Tickets & Datetimes’ 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.

Event Espresso