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

Error handling french dates #18

Closed
ntoniazzi opened this issue Sep 24, 2019 · 2 comments
Closed

Error handling french dates #18

ntoniazzi opened this issue Sep 24, 2019 · 2 comments
Labels
Bug Something isn't working
Milestone

Comments

@ntoniazzi
Copy link

There seems to be a typo here:
https://github.com/mathieustan/vue-datepicker/blob/master/src/components/datepicker/DatePicker.vue#L174
outPutFormat is never defined (capital P)

If I set the locale to "fr" and the format to "DD/MM/YYYY", the calendar chokes on invalid english dates such as: "28/02/2019"

@mathieustan mathieustan added the Bug Something isn't working label Sep 25, 2019
@mathieustan mathieustan added this to the 0.1.9 milestone Sep 25, 2019
@mathieustan
Copy link
Owner

Hello @ntoniazzi,

Are you using formatOutput prop ? I'll remove it to avoid this issue.

@mathieustan
Copy link
Owner

formatOutput prop has been removed.
You should not have this issue anymore.

Let me know if it still happens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants