more UTC issues in WordPress
-
so, I ad issues a few years ago with stuff in WordPress showing the wrong time. That was fixed, eventually — and settings were made across the board and on the server to set the php timezone to America/New York.
Other scripts on my site need this setting to be correct.
Now, I am noticing the issues starting again with WordPress.
I found this, from last year
https://www.ads-software.com/support/topic/utc-time-wrong/page/2/I set a quick check
<?php
date_default_timezone_set( ‘UTC’ );
echo date(‘Y-m-d G:i:s’);
and it correctly displays the UTC time as being 4 hours ahead of my local time.However, in WordPress General Settings (timezone set to New York)
Universal time (UTC) is 2018-10-01 13:00:15. Local time is 2018-10-01 09:00:15.what is showing here is my correct time for UTC and an ADDITIONAL 4 hours then gets applied…. making all times 4 hours behind the actual time.
you can see it here…
https://www.chelmsforddogassociation.org/about-us/volunteering/
the add-on is displaying times 4 hours ahead of the actual times… because I told it that the event starts at 9am EDT — so it displays 5am EDT.The page I need help with: [log in to see the link]
- The topic ‘more UTC issues in WordPress’ is closed to new replies.