Incomplete Type definition for dayjs factory function
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
Hi, searching for a solution to parse date strings of certain format,
I checked the documentation on parsing input using string + format ( https://day.js.org/docs/en/parse/string-format ).
It seems the type definitions are not up to date:
- passing an array of possible date formats will error
- 4th parameter for "strict comparision mode" is not supported
Contributor guide
Assessment
This issue has not been assessed yet.