We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I am basing the correct behaviour based on how the Firefox implementation works.
For the ISO calendar, I would expect, and I get the following results:
const lastDay2029 = Temporal.PlainDate.from('2029-12-31'); console.log(lastDay2029.weekOfYear) // 1 console.log(lastDay2029.yearOfWeek) // 2030
Using the polyfill, I get the same results as those above when using the gregory calendar, whereas in Firefox I get:
const lastDay2029 = Temporal.PlainDate.from('2029-12-31[u-ca=gregory]'); console.log(lastDay2029.weekOfYear) // 53 console.log(lastDay2029.yearOfWeek) // 2029
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am basing the correct behaviour based on how the Firefox implementation works.
For the ISO calendar, I would expect, and I get the following results:
Using the polyfill, I get the same results as those above when using the gregory calendar, whereas in Firefox I get:
The text was updated successfully, but these errors were encountered: