Adds a test for leap-year check.
Changed date parsing implementation in date check to LocalDate.
Updated error message for errors that have to do with dates.
Motivation
Fixes a potential vulnerability where valid would return true on dates which are not valid (out of range).
Type of change
Description
Adds a test for leap-year check.
Changed date parsing implementation in date check to LocalDate. Updated error message for errors that have to do with dates.
Motivation
Fixes a potential vulnerability where
valid
would return true on dates which are not valid (out of range).Checklist