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

dayjs().add(dayjs.duration()) inconsistency #2750

Open
vaibhav11s opened this issue Oct 18, 2024 · 1 comment
Open

dayjs().add(dayjs.duration()) inconsistency #2750

vaibhav11s opened this issue Oct 18, 2024 · 1 comment

Comments

@vaibhav11s
Copy link

Describe the bug
https://stackblitz.com/edit/vitejs-vite-rvrdyd?file=main.js

when added a duration which is initialized with weeks, the dayjs.add function does not add any time.

Expected behavior
Should give correct output

Information

  • Day.js Version: 1.11.13
  • OS: macOS
  • Browser: latest chrome
  • Time zone: GMT+05:30
@rtron-24
Copy link

Working on this

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