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

Incompatible date format in some locales with 'future' #981

Open
royas opened this issue Nov 21, 2020 · 0 comments
Open

Incompatible date format in some locales with 'future' #981

royas opened this issue Nov 21, 2020 · 0 comments

Comments

@royas
Copy link

royas commented Nov 21, 2020

I'm submitting a...


[x] Bug report  
[ ] Feature request
[ ] Documentation issue or request

Current behavior

For example in 'es' language, 'date' validator requires format DD/MM/YYYY, but 'future' validator treats it as Y/M/D and performs wrong calculations.

Expected behavior

I think that extracting format from 'date' to use in 'future' could be a little tricky, but maybe suppor some kind of a format hint in 'future' validator?

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

1 participant