From cd84f6c4c550aa24fdb75986d97240a4f9912230 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Thu, 27 Aug 2015 16:36:59 +0200 Subject: [PATCH] typo in DateValidator docs --- framework/validators/DateValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/validators/DateValidator.php b/framework/validators/DateValidator.php index 930c8313c1..118ce98264 100644 --- a/framework/validators/DateValidator.php +++ b/framework/validators/DateValidator.php @@ -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. 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 - * `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]]. */ public $format;