[wp-trac] [WordPress Trac] #48625: The post publish time in wp-admin/post.php appears in UTC

WordPress Trac noreply at wordpress.org
Thu Nov 14 16:31:11 UTC 2019


#48625: The post publish time in wp-admin/post.php appears in UTC
--------------------------+------------------------------
 Reporter:  Biranit       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  5.3
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  administration
--------------------------+------------------------------

Comment (by Rarst):

 This plugin to be clear https://wordpress.org/plugins/disable-gutenberg/ ?

 I cannot reproduce locally, the time displays correctly for me...

 1. Does this happen on every post or just some posts?
 2. Could you look up what't the `post_date` is in database for post you
 used as example?
 3. You mentioned that you set Jerusalem timezone in PHP, any chance you
 are trying to do this during WP operation as well? WP core resets PHP time
 zone on boot to UTC and relies on that assumption (we are working to
 making it more robust, but we are not there 100% yet).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48625#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list