Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit 2746080

Browse files
committed
Merge branch 'hotfix/173'
Close #173
2 parents 438b3a6 + 616d6c9 commit 2746080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/book/validators/date.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ $validator->isValid('10.10.2000'); // returns false
2525

2626
`Zend\Validator\Date` also supports custom date formats. When you want to
2727
validate such a date, use the `format` option. This option accepts any format
28-
allowed by the PHP [date()](http://php.net/date) function.
28+
allowed by the PHP [DateTime::createFromFormat()](http://php.net/manual/en/datetime.createfromformat.php#refsect1-datetime.createfromformat-parameters) method.
2929

3030
```php
3131
$validator = new Zend\Validator\Date(['format' => 'Y']);

0 commit comments

Comments
 (0)