Closed
Bug 1445988
Opened 6 years ago
Closed 5 years ago
Note for IE and Edge including control characters in Intl.DateTimeFormat.format
Categories
(Developer Documentation Graveyard :: JavaScript, enhancement, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla.mozilla, Unassigned)
References
()
Details
:: Developer Documentation Request Request Type: New Documentation Gecko Version: unspecified Technical Contact: :: Details In attempting to resolve an issue in Edge with Intl.DateTimeFormat.format(), I discovered that it was including invisible control characters in the return string. Searching the issue, I came across this Stack Overflow thread from 2014 (so, involving IE and not Edge) that deals with the same issue: https://stackoverflow.com/questions/25574963/ies-tolocalestring-has-strange-characters-in-results The accepted answer is that this behaviour is not to be unexpected (and I infer not actually a bug). Could the DateTimeFormat and/or DateTimeFormat.format pages be amended to include a caution about this potential pitfall?
Updated•6 years ago
|
Priority: P5 → P2
Comment 1•5 years ago
|
||
I've added info about this situation to these two pages:
review? Chris?
Flags: needinfo?(cmills)
Comment 2•5 years ago
|
||
review? Chris?
Reads really well; nice work! I gave it a couple of tweaks, but nothing major.
Flags: needinfo?(cmills)
Comment 3•5 years ago
|
||
Thank you!
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•