[wp-trac] [WordPress Trac] #49581: Revisions are showing time in GMT and not Local Time

WordPress Trac noreply at wordpress.org
Wed Mar 4 20:41:27 UTC 2020


#49581: Revisions are showing time in GMT and not Local Time
----------------------------+-----------------------------
 Reporter:  ggedde          |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.3.2
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+-----------------------------
 When reviewing Revisions in the Admin Panel the date and time shown for a
 revision is the GMT time in 24 hour format and not the local time in 12
 hour format.  Even when the local timezone is set correctly in Settings ->
 General. I even tried adding
 date_default_timezone_set('America/Los_Angeles'); to my functions.php, but
 it still uses gmt.  However the time ago is showing correctly.  So it is
 just the date and time.

 I think the time shown should use the settings from Settings -> General
 (Timezone) and (Date Format), but it is not.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49581>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list