Skip to content

Commit

Permalink
Add compat test for bugzilla#1864612 (web-platform-tests#43257)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens authored Nov 21, 2023
1 parent 9799de9 commit 0289894
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ecmascript/locale-compat.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,8 @@

}, '`Date.prototype.toLocaleString` produces `yyyy-mm-dd` instead of `m/d/yyyy` for `en-CA` locale');

test(t => { // https://bugzilla.mozilla.org/show_bug.cgi?id=1864612
assert_true(new Intl.DateTimeFormat('sv-SE', {}).format(0).endsWith('-01-01'));
});

</script>

0 comments on commit 0289894

Please sign in to comment.