[wp-trac] [WordPress Trac] #48384: get_post_time returns wrong value after timezone switch

WordPress Trac noreply at wordpress.org
Mon Oct 21 16:25:04 UTC 2019


#48384: get_post_time returns wrong value after timezone switch
--------------------------+------------------------------
 Reporter:  david.binda   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Date/Time     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [ticket:48384 david.binda]:
 > The issue is visible on post listing in wp-admin/edit.php, where post
 created during the UTC+0 timezone being set, are marked as 2 hours ago,
 after changing the timezone to UTC+2.

 I might be missing something, but this is the behavior I would expect
 here, rather than what 5.2.4 did.

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


More information about the wp-trac mailing list