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

[Validator] Contraint Range Date #4426

Closed
timglabisch opened this issue Nov 5, 2014 · 2 comments
Closed

[Validator] Contraint Range Date #4426

timglabisch opened this issue Nov 5, 2014 · 2 comments
Labels
hasPR A Pull Request has already been submitted for this issue. Validator

Comments

@timglabisch
Copy link
Contributor

the Range Contraint supports Dates (as Strings), see https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Tests/Constraints/RangeValidatorTest.php#L339

this isn't mention in the documentation right now.
http://symfony.com/doc/current/reference/constraints/Range.html#min

@xabbuh
Copy link
Member

xabbuh commented Nov 5, 2014

@timglabisch Thank you for reporting it. Luckily, @webmozart already started to work on this in #4143.

@xabbuh
Copy link
Member

xabbuh commented Nov 6, 2014

This isn't limited to the Range constraint, but also affects the comparison constraints like EqualTo, GreatherThan, and so on.

@wouterj wouterj added the hasPR A Pull Request has already been submitted for this issue. label May 2, 2015
@wouterj wouterj closed this as completed Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hasPR A Pull Request has already been submitted for this issue. Validator
Projects
None yet
Development

No branches or pull requests

3 participants