Home Forums Event Espresso Premium Bug with Datetime Offset Tool

Bug with Datetime Offset Tool

Posted: July 7, 2021 at 11:34 am

David Anderson

July 7, 2021 at 11:34 am


After setting the WP timezone to use a city name, all of our events time-shifted, which is to be expected.

We needed to make some adjustments, so we used the Datetime Offset Tool.

This tool is buggy for several reasons:

– when entering no Start Date, the update process took over an hour, seemed to be caught in a loop, and then died. I believe this is when the problems really started.
– we ran the tool again, with Start Date entered, and it seemed to work.
– overnight, all event times shifted again by 2x the offset. Perhaps because a duplicate background process was already running?
– we ran the tool again, subtracting the additional offset.
– now, we’re seeing dates that are all over the place. We believe this is due to the math used to calculate the target date. For instance, “on sale” dates that shifted into the previous day, we noticed the year increment UP.

Now we have a complete mess which perhaps can only be solved by rolling the entire site back to a previous backup.

Any advice?

Seth Shoultes

  • Support Staff

July 8, 2021 at 9:20 am

Hey David,

Uh oh. Not sure what could be the issue here. I’ve pinged our developers to see if they have any ideas as to what could have went wrong here.

Seth Shoultes

  • Support Staff

July 8, 2021 at 2:02 pm

Hey David,

Our developers said that it sounds like one or more events might have been missing a start date, then rerunning the script may have caused further issues.

Are you able to roll back using a backup?

The support post ‘Bug with Datetime Offset Tool’ 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