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

Added dayjs customParseFormat plugin in order to correctly parse formatter dates #3

Merged
merged 2 commits into from Mar 16, 2021

Conversation

TomHuijer
Copy link
Contributor

@TomHuijer TomHuijer commented Mar 16, 2021

The CustomParseFormat plugin is required to support custom formats passed by the formatter prop.

Without this plugin the date format DD-MM-YYYY gets parsed as MM-DD-YYYY.

Example: when selecting March 8th and re-opening the datepicker, the selected date will be August 3rd.

Resolves #4

@kenhyuwa kenhyuwa merged commit 032ea5d into kenhyuwa:main Mar 16, 2021
@kenhyuwa
Copy link
Owner

Thank you,
I forget this...

@tbordinat
Copy link

Thx, I was experiencing this issue !
Just upgraded to 1.0.5 and now it works like a charm.

Awesome project, I hope to contribute soon :)

@kenhyuwa
Copy link
Owner

Yeah, thank you
I'll waiting for your contribution.

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

Successfully merging this pull request may close these issues.

Missing CustomParseFormat plugin
3 participants