Date 08/10/2000 in DD/MM/YYYY format is invalid
See original GitHub issueVersions
- vee-validate: 2.1.0-beta.9
- vue: 2.5.2
Describe the bug
I have fields set in v-validate="{date_format: 'DD/MM/YYYY'}", but when I enter the date 10/8/2000 the validation returns an error saying that the date is not in DD/MM/YYYY format
To Reproduce Steps to reproduce the behavior:
- Go to https://baianat.github.io/vee-validate/guide/rules.html#date-format. In my browser, the default format is DD/MM/YYYY (pt-br)
- Type the date 08/10/2000
- See error
Desktop (please complete the following information):
- OS: [e.g. Windows]
- Browser [chrome]
- Version [69]
Issue Analytics
- State:
- Created 5 years ago
- Comments:18 (4 by maintainers)
Top Results From Across the Web
How to resolve invalid date format error for imports in version 10
Solution: 1. Try changing the import date format 2. If step 1 does not resolve your issue, confirm all date fields are the...
Read more >Getting Invalid Date for date string as "19-02-2020" and date ...
the Date string format is YYYY-MM-DDTHH:mm:ss.sssZ where T is a delimiter and Z reffer to the timezone (optional).
Read more >Invalid date instead of dd/mm/yyyy - Google Cloud Community
So it sounds that the app or device from where the app is updated is capturing dates in mm/dd/yyyy format and the back...
Read more >Issue: "Invalid date" or Day and Month Reversing for Notes ...
Issue: Matter Notes saved as MM/DD/YYYY when Date/Time Format set to DD/MM/YYYY. Environment: Clio Manage. Additional Information:.
Read more >Date Format "dd/MM/yyyy" Goes Wrong While Writing in Excel
Hello All, I get a date from Date.Today.ToString(“dd/MM/yyyy”) and my date format in Excel is English(United Kingdom) which is same format ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Same here, i have another dates too: 08/10/2000, 06/10/1996, 06/10/1997, … http://prntscr.com/l5o7v0 @woodyalan, @viniazvd and i are brazilians, maybe have some connection with the language of the browser
I believe the problem is just the documentation. Changing
date_formatfrom"DD/MM/YYYY"to"dd/MM/yyyy"worked fine.