[wp-trac] [WordPress Trac] #51142: Invalid Moment.js locale from get_user_locale()

WordPress Trac noreply at wordpress.org
Mon Oct 5 19:43:30 UTC 2020


#51142: Invalid Moment.js locale from get_user_locale()
--------------------------------+------------------------------
 Reporter:  slightlyfaulty      |       Owner:  (none)
     Type:  defect (bug)        |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  External Libraries  |     Version:  5.0
 Severity:  normal              |  Resolution:
 Keywords:                      |     Focuses:  javascript
--------------------------------+------------------------------

Comment (by iandunn):

 Related:

 * https://github.com/WordPress/gutenberg/issues/15221 - Ordinal suffix
 token does not work in `wp.date.format`
 * https://github.com/WordPress/gutenberg/pull/25782 - Use date-fns and
 date-fns-tz instead of moment

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


More information about the wp-trac mailing list