[wp-trac] [WordPress Trac] #51142: Invalid Moment.js locale from get_user_locale()
WordPress Trac
noreply at wordpress.org
Thu Aug 27 00:26:09 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
--------------------------------+------------------------------
Changes (by SergeyBiryukov):
* version: 5.5 => 5.0
Comment:
Hi there, welcome to WordPress Trac! Thanks for the report.
Some history of the code in question:
* Introduced in [44262] / #45145, changing the version to 5.0 as the
earliest applicable version.
* Adjusted in [48075] / #50408 to use `moment.updateLocale()` instead of
`moment.locale()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51142#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list