-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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] Added docs about the format option #6316
Conversation
dosten
commented
Mar 1, 2016
Q | A |
---|---|
Doc fix? | no |
New docs? | yes, see symfony/symfony#17553 |
Applies to | 3.1+ |
Fixed tickets | #6313 |
ping @xabbuh |
.. versionadded:: 3.1 | ||
The ``format`` option was introduced in Symfony 3.1. | ||
|
||
This option allows to validate a custom date format. See `date_create_from_format`_ for formatting options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would change the label to DateTime:createFromFormat()
:
See `DateTime::createFromFormat <date_create_from_format>`_ for [...]
@xabbuh comments addressed |
.. versionadded:: 3.1 | ||
The ``format`` option was introduced in Symfony 3.1. | ||
|
||
This option allows to validate a custom date format. See `DateTime::createFromFormat <date_create_from_format>`_ for formatting options. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please the line after the first word that crosses the 72nd character?
👍 I just left some very minor comment. |
@xabbuh done |
Great! :) |
This PR was merged into the master branch. Discussion ---------- [Validator] Added docs about the format option | Q | A | ------------- | --- | Doc fix? | no | New docs? | yes, see symfony/symfony#17553 | Applies to | 3.1+ | Fixed tickets | #6313 Commits ------- f8d1e82 Added docs about the format option