Skip to content

[Validation] Interpreting String as Date in EqualTo Validators #4429

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

Closed
timglabisch opened this issue Nov 6, 2014 · 1 comment
Closed

[Validation] Interpreting String as Date in EqualTo Validators #4429

timglabisch opened this issue Nov 6, 2014 · 1 comment

Comments

@timglabisch
Copy link
Contributor

We should document, that the EqualTo Validators can interprete strings as Dates / DateTimes

Document Here
http://symfony.com/doc/current/reference/constraints/EqualTo.html

The Tests:
https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Tests/Constraints/EqualToValidatorTest.php#L49

@xabbuh
Copy link
Member

xabbuh commented Nov 6, 2014

@timglabisch Thank you for reporting this. You are right that the documentation is currently missing this feature. However, as #4143 will also cover this, I'm going to close this since we already have issue #4426.

@xabbuh xabbuh closed this as completed Nov 6, 2014
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

2 participants