Properly reflect date and time formats throughout admin area
|Reported by:||bananastalktome||Owned by:|
|Severity:||trivial||Keywords:||ui-feedback dev-feedback has-patch|
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.