Skip to content

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