[wp-trac] [WordPress Trac] #63816: Add year to timestamp in revisions comparison interface

WordPress Trac noreply at wordpress.org
Tue Aug 12 05:41:16 UTC 2025


#63816: Add year to timestamp in revisions comparison interface
-------------------------------------+------------------------------
 Reporter:  kgagne                   |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Editor                   |     Version:  6.8.2
 Severity:  trivial                  |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  ui
-------------------------------------+------------------------------

Comment (by iamadisingh):

 The issue exists in `wp_prepare_revisions_for_js()`, the `dateShort`
 format uses `j M @ H:i` which excludes the year. Changing the format to 'j
 M, Y @ H:i' to include the year this would change "26 Jul @ 11:16" to "26
 Jul, 2022 @ 11:16"

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


More information about the wp-trac mailing list