Skip to content

PARTIAL: Update eras to match latest spec #348

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Manishearth
Copy link

I realized this is more complicated than I thought; the assumption about which calendars support eras is scattered throughout the code.

I don't think I'll have the time to finish this. However I do wish to update test262 here; the old era codes are causing failures in unrelated tests.

@ptomato
Copy link
Contributor

ptomato commented Aug 15, 2025

It's probably better to implement this first in the reference code (that we use for developing test262) https://github.com/tc39/proposal-temporal/tree/main/polyfill and then it'll eventually be pulled in here.
However, I'm aware that the calendar code is a bit hard to grasp, since it is in the weird situation of reverse-engineering its info from Intl.DateTimeFormat. It's fine if you just want to update test262 and we can take care of the reference code when we pull in a new test262 commit.

@Manishearth
Copy link
Author

Thanks!!

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.

2 participants