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

Wrong dates for september 2019 #7

Closed
jonespen opened this issue Aug 29, 2019 · 2 comments
Closed

Wrong dates for september 2019 #7

jonespen opened this issue Aug 29, 2019 · 2 comments

Comments

@jonespen
Copy link
Contributor

@datepicker-react/hooks

Describe the bug

1th September 2019 should be on a Sunday (when week starts on monday), but is Tuesday. I added some failing tests here: jonespen@cf776b7. Guess it's something in getDays, but couldn't figure out the logic

Source code (including props configuration)
See codesandbox https://codesandbox.io/s/clever-meadow-1ur39

Screenshots/Gifs
image

For reference, see Calendar.app screenshot:
image

@tresko tresko closed this as completed in 062f66f Aug 29, 2019
@tresko
Copy link
Collaborator

tresko commented Aug 29, 2019

Fixed in version 2.0.2.

Codesandbox: https://codesandbox.io/s/blissful-bardeen-118ym

@jonespen
Copy link
Contributor Author

Great, thanks!

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