Philip Chimento
ac9ff9bf75
Add coverage for remapping of eras in Temporal dates
...
See note 2 on eras in CalendarResolveFields:
https://tc39.es/proposal-temporal/#sec-temporal-calendarresolvefields
This behaviour was not yet covered by any test262 tests.
Based on Anba's tests from https://github.com/tc39/test262/pull/4080 but
with different behaviour.
2025-04-29 13:45:50 +02:00
Philip Chimento
e46b317b18
Temporal: Add test coverage for canonicalizing era codes in from()
...
There was a coverage gap for converting calendar fields to a date when the
provided era was an alias.
See https://github.com/tc39/proposal-temporal/pull/2940#discussion_r1767508659
2024-09-20 17:04:19 +02:00
Philip Chimento
6f8f6b5261
Temporal: Tests for ignoring era and eraYear in calendars without eras
...
This tests some of the prose requirements of CalendarResolveFields.
See https://github.com/tc39/proposal-temporal/issues/2870
2024-09-10 09:28:24 -07:00
Philip Chimento
9671c4a613
Temporal: Test adjustments for removing calendar and time zone objects
2024-07-05 10:43:53 +02:00
Philip Chimento
3f805a1383
Temporal: Test calendar canonicalization in Temporal
...
Following the upstream ECMA-402 change tested in the previous commit, add
test coverage for the corresponding functionality in Temporal. Fix one
test that was erroneous.
2024-07-04 11:14:16 +02:00
Frank Yung-Fong Tang
3f5c4fce43
Valid values of 'era' is not defined in Temporal
2021-11-30 14:49:23 -05:00
Philip Chimento
77a34cf93f
Add Temporal tests
...
This copies over the tests that previously existed in the
tc39/proposal-temporal repository.
For context, see thread starting at:
https://github.com/tc39/test262/issues/3002#issuecomment-926234480
In service of https://github.com/tc39/test262/issues/3002
2021-10-01 14:30:12 -04:00