Posted: September 19, 2016 at 8:48 am
All times after Oct 31, 2016 have been shifted later by 1 hour after updating WordPress to 4.6 I’ve had this problem before with the times shifting. I do not want to change my default timezone because half are right and half are not. Trying to understand what is going on and possible fix for a hundred events that are now wrong. |
|
Hi Peyton, Usually the times will shift like that when there’s another plugin that’s activated that’s using the date_default_timezone_set() function. Here’s a link to a WP development reference that explains not to do that: |
|
September 19, 2016 at 10:54 am I have searched all files in wp-content (plugins, themes), nothing is using date_default_timezone_set() Also, it only affected events from 10/31/2016 – 3/26/2017? Any other ideas? Thanks |
|
September 19, 2016 at 12:25 pm Or, if a users computer timezone, that is entering the event, is different from the chosen from the site, will it compensate and assume the hour later? |
|
So the affected events occur while Standard time is in effect, as opposed to Daylight Savings time. Do you have your WordPress timezone set to a UTC offset or is it set to match a city near you? |
|
I’m not sure. I’m asking if that could be a cause. I tested it but didn’t seem to have an effect. My timezone is set to UTC+0 Also not sure why only some events are affected. I’m pasting below a search for the function you mention above.
|
|
I wonder if it will standardize the times if you switch the timezone setting to “Isle of Man”, which is in UTC 0, but it uses Daylight Savings time. |
|
September 20, 2016 at 12:58 pm Didn’t seem to. But were you thinking only events moving forward with the new setting? |
|
This issue seems to perfectly line up with Day Light Savings time, Europe (not U.S.). Duplicated events were left untouched. Is there something that runs on WordPress update that will check and amend the times between those dates? |
|
You’ll probably need to go in and update those events after changing the timezone. |
|
The support post ‘Times shift later by 1 hour’ 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.