tc39 / test262

Official ECMAScript Conformance Test Suite
Other
2.3k stars 457 forks source link

Test coverage for canonicalization of calendars #4130

Closed ptomato closed 1 month ago

ptomato commented 1 month ago

This functionality in Intl.DateTimeFormat was specified several years ago in ECMA-402 but lacked coverage.

Anba recently brought Temporal's calendar canonicalization in line with ECMA-402. Add test coverage for that as well and fix one erroneous test.

ptomato commented 1 month ago

Lowercasing was tested in most cases already, but Turkish dotted capital I was not. I figured if I punt it to a followup, I'd never do it, so I've added it to this PR. Let me know what you think.