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
day() returns wrong value #1821
Comments
It happens to me the same but with months and it is sometimes |
This library is clearly dead, moved onto date-fns |
I can also configrm this bug - it happens occasionaly and it is very very difficult to reproduce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm calling day() on a date, and it returns 6 instead of 5
Expected behavior
Should return 5
Information
Line of code:
dayjs('2022-03-05T03:40:59+00:00').day()
This one works:
parseInt(dayjs(this.date).format("DD"))
The text was updated successfully, but these errors were encountered: