[wp-trac] [WordPress Trac] #48642: Scheduled posts times are displayed incorrectly
WordPress Trac
noreply at wordpress.org
Thu Nov 14 22:44:19 UTC 2019
#48642: Scheduled posts times are displayed incorrectly
--------------------------+------------------------------
Reporter: charveyunm | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.3
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by charveyunm):
Replying to [comment:6 Otto42]:
> Yes, that would be a problem. WordPress expects the
date_default_timezone_set to always be UTC. It calculates its own offsets
internally. Some of this timezone code changed in 5.3, so there may be
bugs here and there, but if you're changing the default timezone, then
there would have been other problems even in previous versions. Maybe not
the same results, but definitely problems.
>
> Custom code should not need to change the default timezone if you use
the WordPress time functions.
Thanks, yep - so far I have not run into additional issues (even with ACF
PRO and classic editor) after removing all instances of setting that
default time zone manually.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48642#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list