Skip to content

documentation fix on validators #1357

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

Merged
merged 1 commit into from
Oct 25, 2012
Merged

Conversation

aebersold
Copy link
Contributor

There is a error in the validator docs. The date format on before: and after: should be according to ISO 8601 (YYYY-MM-DD), not as stated like YYYY-DD-MM. This doesn't work.

@jasonlewis
Copy link
Contributor

I don't mean to be rude, but why does it need to by according to ISO 8601?

@aebersold
Copy link
Contributor Author

because it uses the php function strtotime, and this only works, if the date is according to ISO 8601.

taylorotwell added a commit that referenced this pull request Oct 25, 2012
documentation fix on validators
@taylorotwell taylorotwell merged commit 37cd08f into laravel:master Oct 25, 2012
@taylorotwell
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants