-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
weekOfYear week
edge cases with 2015-12-28 and 2016-10-30
#772
Comments
🎉 This issue has been resolved in version 1.8.20 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@iamkun this one is still not working properly, 1.8.20 did not fix it |
It should be fixed. the test date, version, and locale, please? |
@iamkun it's current version
|
@kwypchlo test with moment.js and got the same result https://runkit.com/embed/5bhn5xbhf6ks |
@iamkun you are right, sorry for the confusion! Thank you for your work! |
Hi, I tried with that date:
I have different results with dayjs: https://runkit.com/4rno/5f05ebfc841930001389a53e It seems to be linked with the parameter Maybe i'm wrong somewhere. |
Describe the bug
weekOfYear
week
edge cases do not match momentweek
calculationsExpected behavior
dayjs should return correct week of year, according to http://www.whatweekisit.org/ moment is correct
Information
The text was updated successfully, but these errors were encountered: