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
I want to parse a date: 2019W19 with dayjs:
dayjs("2019W19","gggg[W]ww")
It dose not support yet, But moment supports it already.
moment("2019W19","gggg[W]ww")
The text was updated successfully, but these errors were encountered:
I had a use case for 2016-46 and solved it using
2016-46
dayjs.utc("2016", "YYYY").startOf('isoWeek').add(46, 'weeks').toISOString()
EDIT
This approach fails for 2020-30. Here's my benchmark test suite and for the moment, momentjs still wins...
2020-30
momentjs
Sorry, something went wrong.
Any workarounds for now? Any plans to fix that?)
No branches or pull requests
I want to parse a date: 2019W19 with dayjs:
It dose not support yet,
But moment supports it already.
The text was updated successfully, but these errors were encountered: