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

Some ISO8601 date not parsed #1175

Closed
Lonli-Lokli opened this issue Oct 28, 2020 · 2 comments
Closed

Some ISO8601 date not parsed #1175

Lonli-Lokli opened this issue Oct 28, 2020 · 2 comments

Comments

@Lonli-Lokli
Copy link

Describe the bug
dayjs('1990-13-31T23:59:00Z') creates Invalid Date

see https://stackblitz.com/edit/typescript-afnfra

Expected behavior
Should be correctly parsed

Information

  • Day.js Version 1.9.4
  • OS: win10
  • Browser Chrome
  • Time zone: GMT-7
@iamkun
Copy link
Owner

iamkun commented Oct 28, 2020

Seems '1990-13-31' is of course an Invalid Date. 😢

@Lonli-Lokli
Copy link
Author

Ahahha, sorry for the typo. Was creating set of local tests for the adapter.

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