[wp-trac] [WordPress Trac] #23227: Properly reflect date and time formats throughout admin area

WordPress Trac noreply at wordpress.org
Thu Jan 17 19:37:21 UTC 2013


#23227: Properly reflect date and time formats throughout admin area
--------------------------------------+--------------------------
 Reporter:  bananastalktome           |       Type:  defect (bug)
   Status:  new                       |   Priority:  normal
Milestone:  Awaiting Review           |  Component:  Date/Time
  Version:  3.5                       |   Severity:  minor
 Keywords:  ui-feedback dev-feedback  |
--------------------------------------+--------------------------
 I have noticed several places in the admin area where the time & date
 formats set on the General Settings screen are not reflected. For example,
 on Page Edit, revisions have a hardcoded date format of `'j F, Y @ G:i'`
 and ajax autosaves use `'g:i:s a'` to show the "Draft Saved at" time (of
 note is the 24 hour vs 12 hour time). The "Last Edited By _ on _" time
 ''does'' properly use the time & date format options.

 I have included a patch for the two examples above (comments/critiques
 welcomed), but there were a few others I noticed that may be somewhat more
 involved to fix. These include:
 - Dates shown in the "Date" column of list tables (both the displayed and
 title text)
 - "Published on:" date/time for pages (this may be tricky since editing
 the published time uses a 24-hour time format)
 - "Uploaded on:" date/time shown in 'Save' metabox on Media edit screen

 And there are probably other places I have missed as well.

 Obviously somewhat low priority compared to other issues (and may be
 enhancement rather than defect), but I figured I'd bring it here and see
 what others thought.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23227>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list