Skip to content

Conversation

@ioannad
Copy link
Contributor

@ioannad ioannad commented Dec 19, 2025

Also homogenise format of existing tests, adding the test for unknown calendar id u-ca=notacal.

This addresses issue #3896

Tests added or addended for:

  • Duration.(add, round, subtract, total)'s option relativeTo,
  • PlainDate.prototype.(equals, since, until, withCalendar),
  • PlainDate.(constructor, from, compare),
  • PlainDateTime.prototype.(equals, since, until, withCalendar),
  • PlainDateTime.(constructor, from, compare),
  • PlainMonthDay.prototype.equals,
  • PlainMonthDay.(constructor, from),
  • PlainYearMonth.prototype.(equals, since, until, withCalendar),
  • PlainDate.(constructor, from, compare),
  • ZonedDateTime.prototype.(equals, since, until, withCalendar),
  • ZonedDateTime.(constructor, from, compare)

Also homogenise format of existing tests, adding the test for
unknown calendar id u-ca=notacal.

This addresses issue tc39#3896

Tests added or addended for:

- Duration.(add, round, subtract, total)'s option relativeTo,
- PlainDate.prototype.(equals, since, until, withCalendar),
- PlainDate.(constructor, from, compare),
- PlainDateTime.prototype.(equals, since, until, withCalendar),
- PlainDateTime.(constructor, from, compare),
- PlainMonthDay.prototype.equals,
- PlainMonthDay.(constructor, from),
- PlainYearMonth.prototype.(equals, since, until, withCalendar),
- PlainDate.(constructor, from, compare),
- ZonedDateTime.prototype.(equals, since, until, withCalendar),
- ZonedDateTime.(constructor, from, compare)
@ioannad ioannad requested a review from a team as a code owner December 19, 2025 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant