Skip to content

Editorial: Clarify requirement for implementation-defined month-day validation#3008

Merged
ptomato merged 1 commit intomainfrom
3002-month-day-range-error
Oct 9, 2024
Merged

Editorial: Clarify requirement for implementation-defined month-day validation#3008
ptomato merged 1 commit intomainfrom
3002-month-day-range-error

Conversation

@ptomato
Copy link
Collaborator

@ptomato ptomato commented Oct 8, 2024

This is a speculative PR for what I think is probably the best way to address #3002.

Closes: #3002

@codecov
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.89%. Comparing base (e6660f2) to head (ad1ff26).
Report is 13 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3008   +/-   ##
=======================================
  Coverage   95.89%   95.89%           
=======================================
  Files          21       21           
  Lines        9678     9678           
  Branches     1837     1837           
=======================================
  Hits         9281     9281           
  Misses        344      344           
  Partials       53       53           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@justingrant justingrant left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love it!

@ptomato
Copy link
Collaborator Author

ptomato commented Oct 9, 2024

Let's go ahead with this so that Anba can be unblocked and we have a clean slate for the plenary presentation.

@ptomato ptomato merged commit c75c841 into main Oct 9, 2024
@ptomato ptomato deleted the 3002-month-day-range-error branch October 9, 2024 01:03
anba added a commit to anba/proposal-temporal that referenced this pull request Dec 9, 2024
Follow-up to tc39#3008 (tc39#3002). Similar to CalendarMonthDayToISOReferenceDate, also
don't require support for mapping ISO dates up to ±999999-12-31 to
calendar dates. This restriction does not apply to the ISO 8601
calendar.
ptomato pushed a commit to anba/proposal-temporal that referenced this pull request Feb 5, 2025
Follow-up to tc39#3008 (tc39#3002). Similar to CalendarMonthDayToISOReferenceDate, also
don't require support for mapping ISO dates up to ±999999-12-31 to
calendar dates. This restriction does not apply to the ISO 8601
calendar.
ptomato pushed a commit to anba/proposal-temporal that referenced this pull request Feb 22, 2025
Follow-up to tc39#3008 (tc39#3002). Similar to CalendarMonthDayToISOReferenceDate, also
don't require support for mapping ISO dates up to ±999999-12-31 to
calendar dates. This restriction does not apply to the ISO 8601
calendar.
ptomato pushed a commit to anba/proposal-temporal that referenced this pull request Feb 22, 2025
Follow-up to tc39#3008 (tc39#3002). Similar to CalendarMonthDayToISOReferenceDate, also
don't require support for mapping ISO dates up to ±999999-12-31 to
calendar dates. This restriction does not apply to the ISO 8601
calendar.
ptomato pushed a commit that referenced this pull request Feb 22, 2025
Follow-up to #3008 (#3002). Similar to CalendarMonthDayToISOReferenceDate, also
don't require support for mapping ISO dates up to ±999999-12-31 to
calendar dates. This restriction does not apply to the ISO 8601
calendar.
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.

CalendarMonthDayToISOReferenceDate: Allow to throw RangeError for too large inputs?

2 participants