changed date format in validation documentation to match ISO8601
This commit is contained in:
parent
d55328cc52
commit
2e8364994f
|
@ -196,11 +196,11 @@ ### Dates
|
||||||
|
|
||||||
#### Validate that a date attribute is before a given date:
|
#### Validate that a date attribute is before a given date:
|
||||||
|
|
||||||
'birthdate' => 'before:1986-28-05';
|
'birthdate' => 'before:1986-05-28';
|
||||||
|
|
||||||
#### Validate that a date attribute is after a given date:
|
#### Validate that a date attribute is after a given date:
|
||||||
|
|
||||||
'birthdate' => 'after:1986-28-05';
|
'birthdate' => 'after:1986-05-28';
|
||||||
|
|
||||||
> **Note:** The **before** and **after** validation rules use the **strtotime** PHP function to convert your date to something the rule can understand.
|
> **Note:** The **before** and **after** validation rules use the **strtotime** PHP function to convert your date to something the rule can understand.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue