The date string to validate. Must be in a format understood by validator.isBefore
.
The date string to compare against. Must be in a format understood by validator.isBefore
. Defaults to the current date in ISO 8601 format.
True if the value is before the comparison date, false otherwise.
Checks if the given date string is before the comparison date.