Regex: Date regex
benjamincharity opened this issue ยท 1 comments
benjamincharity commented
Needed for the datepicker manual input validation terminus-ui#972.
- Format:
MM/DD/YYYY
- Should allow slashes or dashes between the numbers
- Leading
0
s for month and date should be allowed but not required. - Year should allow 2 or 4 digits.
- Year should only allow
19xx
or20xx
years.
benjamincharity commented
๐ This issue has been resolved in version 2.25.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐