[wp-trac] [WordPress Trac] #47373: Extend Moment.js localization

WordPress Trac noreply at wordpress.org
Wed Aug 30 22:09:34 UTC 2023


#47373: Extend Moment.js localization
---------------------------------------------+-----------------------------
 Reporter:  swissspidy                       |       Owner:  SergeyBiryukov
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.4
Component:  I18N                             |     Version:
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  good-first-bug has-patch commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56496" 56496]:
 {{{
 #!CommitTicketReference repository="" revision="56496"
 Editor: Add relative time strings for the `wp-date` inline script output.

 This changeset updates `wp_default_packages_inline_scripts()` to add
 relative time strings to the `wp-date` inline script, so the JS version of
 `human_time_diff`
 can output translated strings.

 Props ramonopoly, oandregal, swissspidy, manzoorwanijk, adrianduffell,
 Presskopp.
 Fixes #59219, #47373.
 }}}

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


More information about the wp-trac mailing list