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

Incomplete Type definition for dayjs factory function #1402

Open
jbjhjm opened this issue Mar 8, 2021 · 2 comments
Open

Incomplete Type definition for dayjs factory function #1402

jbjhjm opened this issue Mar 8, 2021 · 2 comments

Comments

@jbjhjm
Copy link

jbjhjm commented Mar 8, 2021

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
@iamkun
Copy link
Owner

iamkun commented Mar 9, 2021

pr is most welcomed

@jbjhjm
Copy link
Author

jbjhjm commented Mar 11, 2021

will do if I find some spare time @iamkun :)

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