Closed
Bug 1553432
Opened 6 years ago
Closed 6 years ago
Intl.DateTimeFormat('default' ) fails in Edge
Categories
(developer.mozilla.org Graveyard :: Localization, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: oystein.brattetaule, Unassigned)
Details
(Keywords: in-triage, Whiteboard: [specification][type:bug])
What did you do?
1. Opened https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat in Edge (42.17134.1.0)
2. In demo window added following code:
var date = new Date(Date.UTC(2012, 11, 20, 3, 0, 0));
console.log(new Intl.DateTimeFormat('default',{
hour: 'numeric',
minute: 'numeric',
second: 'numeric'
}).format(date))
3. Press Run
What happened?
Error: Locale 'default' is not well-formed
What should have happened?
Should have printed "4:00:00 AM"
Is there anything else we should know?
Updated•6 years ago
|
Flags: needinfo?(cmills)
Comment 1•6 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(cmills)
Resolution: --- → INCOMPLETE
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•