Skip to content
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

missing yearOfWeek #199

Open
nlewycky opened this issue Dec 8, 2022 · 1 comment
Open

missing yearOfWeek #199

nlewycky opened this issue Dec 8, 2022 · 1 comment

Comments

@nlewycky
Copy link

nlewycky commented Dec 8, 2022

The first few days of a year might be part of last year's final week. Hence tuple [year, weekOfYear] is not correct, you need a different calculation called yearOfWeek.

This property exists on:

@12wrigja
Copy link
Contributor

12wrigja commented Dec 8, 2022

Note for maintainers: this is implemented upstream in tc39/proposal-temporal@aa1c7b1.

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

No branches or pull requests

2 participants