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
Describe the bug The 2020-12-31 should be calender week 53 but it shows as calender week 1. (similar issue: #1264)
Expected behavior https://runkit.com/marferna/6006c2f0e5d69000136b7ad0 We expected the example to output: "With this date we are in week number: 53" and not 1; "The current week is: 3" and not 4.
Information
The text was updated successfully, but these errors were encountered:
would you like to submit a PR to fix this? all we have to do is to add a 'yearStart: 4' to https://github.com/iamkun/dayjs/blob/dev/src/locale/pt.js
to indicate that
The week that contains Jan 4th is the first week of the year.
the same as https://github.com/iamkun/dayjs/blob/dev/src/locale/zh-cn.js
Sorry, something went wrong.
All right @iamkun, I will submit the PR. Thank you for the quick answer!
fixed
No branches or pull requests
Describe the bug
The 2020-12-31 should be calender week 53 but it shows as calender week 1.
(similar issue: #1264)
Expected behavior
https://runkit.com/marferna/6006c2f0e5d69000136b7ad0
We expected the example to output:
"With this date we are in week number: 53" and not 1;
"The current week is: 3" and not 4.
Information
The text was updated successfully, but these errors were encountered: