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 In the following code:
const duration = dayjs.duration({ weeks: 1 }); const initialDate = dayjs(date); const result = initialDate.add(duration);
initialDate and result resolve to the same date.
initialDate
result
This happened after upgrading from dayjs 1.11.8 to 1.11.9 or 1.11.10
1.11.8
1.11.9
1.11.10
Expected behavior The result date is correctly calculated
Information
The text was updated successfully, but these errors were encountered:
#2464 #2479
Sorry, something went wrong.
No branches or pull requests
Describe the bug
In the following code:
initialDate
andresult
resolve to the same date.This happened after upgrading from dayjs
1.11.8
to1.11.9
or1.11.10
Expected behavior
The
result
date is correctly calculatedInformation
The text was updated successfully, but these errors were encountered: