Timezone date comparisons out again
-
I’ve seen this come up a few times in this forum, but it’s occurring again.
The site I’m working on is in Auckland timezone, server is another timezone. When using a custom date to query, it’s not working as the local time is a day before the server (so not ‘expiring’ out posts correctly).
WordPress shows:
Universal time is
2024-10-14 23:34:04.Local time is
2024-10-15 12:34:04.Does anyone have a fix for this? Thanks!
The topic ‘Timezone date comparisons out again’ is closed to new replies.