Date miscalculation with string timezone after moving server
-
Hello!
I’m stuck with a timezone issue and don’t know how to debug it any further.
I moved to another host earlier with more than 10 WordPress sites and each of them show the same behaviour. All of them are up-to-date to the newest version and the newest plugin versions. The server uses PHP 7.0.4, but I set it to 5.6.19 as well with no effect on the problem.
Expected behaviour:
– Timezone in WordPress settings is set to ”Berlin“ (which is the correct location)
– Time is shown correctly when creating posts and pages
– Posts and pages are published immediately when hitting ”Publish“
– Server timezone can safely be set to UTCActual behaviour:
– Posts and pages show as ”planned“ when I hit ”Publish“, planned for the exact same time the clock shows right now
– Posts and pages will be published one hour after actual publishing
– Setting the timezone in WordPress settings to UTC+2 (or UTC+1 with ”standard time“) fixes the issue completely
– Setting the server’s timezone to ”Europe/Berlin“ (like it used to be on my old host) has no effect whatsoeverI appreciate any ideas about what I could do to debug this any further or which changes I could ask my host for to make it work with timezone strings again.
Thanks
ThomasI’ve added screenshots of the date settings.
PHP date settings on old host:
https://te-cloud.de/index.php/s/NRzCUzELybU5QetPHP date settings on new host, before I asked to change it:
https://te-cloud.de/index.php/s/tWJhEKASLLutrBBPHP date settings on new host, after changing it with no effect on the issue:
https://te-cloud.de/index.php/s/yZMxweQ3EnMspKt
- The topic ‘Date miscalculation with string timezone after moving server’ is closed to new replies.