[wp-trac] [WordPress Trac] #51918: I18n - Application Passwords table dates
WordPress Trac
noreply at wordpress.org
Wed Dec 2 16:45:20 UTC 2020
#51918: I18n - Application Passwords table dates
-----------------------------------+---------------------
Reporter: pedromendonca | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.6
Component: Application Passwords | Version: 5.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------------+---------------------
Comment (by pedromendonca):
Replying to [comment:3 TimothyBlynJacobs]:
> Are there issues with the JS side of things? It is using `dateI18n`.
Here is how to reproduce the JS issue:
The portuguese translation for `F j, Y` is `j \d\e F, Y`.
`F j, Y` - ''December 2, 2020''
`j \d\e F, Y` - ''2 de Dezembro, 2020''
It's ok on page load, but is not on creating a new app password and JS row
injection.
The result is:
''2 02WET Dezembro, 2020'' - It seems the `\d\e` aren't being treated as
simple text letters.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51918#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list