octicon-rss(16/)
You've already forked yii2
mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 23:50:38 +08:00
typo in DateValidator docs
This commit is contained in:
octicon-git-branch(16/)
octicon-tag(16/)
octicon-diff(16/tw-mr-1) 1 changed files with 1 additions and 1 deletions
@@ -52,7 +52,7 @@ class DateValidator extends Validator
|
|||||||
* is used to parse the input value. In all other cases the PHP [DateTime](http://php.net/manual/en/datetime.createfromformat.php) class
|
* is used to parse the input value. In all other cases the PHP [DateTime](http://php.net/manual/en/datetime.createfromformat.php) class
|
||||||
* is used. The IntlDateFormatter has the advantage that it can parse international dates like `12. Mai 2015` or `12 мая 2014`, while the
|
* is used. The IntlDateFormatter has the advantage that it can parse international dates like `12. Mai 2015` or `12 мая 2014`, while the
|
||||||
* PHP parser is limited to English only. The PHP parser however is more strict about the input format as it will not accept
|
* PHP parser is limited to English only. The PHP parser however is more strict about the input format as it will not accept
|
||||||
* `12.05.05` for the format `php:d.m.Y`, but the IntlDateFormatter will accept it for the format `dd-MM-yyyy`.
|
* `12.05.05` for the format `php:d.m.Y`, but the IntlDateFormatter will accept it for the format `dd.MM.yyyy`.
|
||||||
* If you need to use the IntlDateFormatter you can avoid this problem by specifying a [[min|minimum date]].
|
* If you need to use the IntlDateFormatter you can avoid this problem by specifying a [[min|minimum date]].
|
||||||
*/
|
*/
|
||||||
public $format;
|
public $format;
|
||||||
|
|||||||
Reference in New Issue
Block a user