[wp-trac] [WordPress Trac] #45047: user_registered returned as UTC Time instead of Local Time

WordPress Trac noreply at wordpress.org
Wed Apr 22 15:25:02 UTC 2020


#45047: user_registered returned as UTC Time instead of Local Time
--------------------------+-----------------------------
 Reporter:  kcrnc         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Date/Time     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  multisite
--------------------------+-----------------------------
Changes (by ocean90):

 * keywords:   => has-patch
 * type:  enhancement => defect (bug)
 * focuses:   => multisite
 * component:  Users => Date/Time
 * milestone:  Awaiting Review => Future Release


Comment:

 Hello @kcrnc, thanks for the report.

 I just noticed the same and it also applies to the date values visible in
 the users/sites list table in multisite.
 While we can't change the way how the dates are saved (see also #48097) we
 can fix the date display in the UI, see [attachment:45047.patch].

 @Rarst any thoughts on the suggested patch?

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


More information about the wp-trac mailing list