Skip to content

Commit

Permalink
docs: fix typo on README (#553)
Browse files Browse the repository at this point in the history
Change `minDate` to `maxDate` on `validator.maxDate`
  • Loading branch information
mateusppereira committed Mar 24, 2020
1 parent 43f340e commit 32bf9fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -807,7 +807,7 @@ validator.max(num, max); // Checks if the first number is less than or equal to

// date validation methods
validator.minDate(date, minDate); // Checks if the value is a date that's after the specified date.
validator.maxDate(date, minDate); // Checks if the value is a date that's before the specified date.
validator.maxDate(date, maxDate); // Checks if the value is a date that's before the specified date.

// string-type validation methods
validator.isBooleanString(str); // Checks if a string is a boolean.
Expand Down

0 comments on commit 32bf9fe

Please sign in to comment.