[wp-trac] [WordPress Trac] #61535: human_time_diff(): Do not use abbreviations in minutes

WordPress Trac noreply at wordpress.org
Sat Jun 29 09:29:23 UTC 2024


#61535: human_time_diff(): Do not use abbreviations in minutes
--------------------------------------+-----------------------------
 Reporter:  wildworks                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.7
Component:  Formatting                |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58600" 58600]:
 {{{
 #!CommitTicketReference repository="" revision="58600"
 Date/Time: Replace abbreviations for minutes in `human_time_diff()`.

 This ensures that relative times are formatted the same way in both JS and
 PHP.

 Follow-up to [1976], [2124], [4658], [41018], [56496].

 Props wildworks.
 Fixes #61535.
 }}}

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


More information about the wp-trac mailing list