GetTerminus/ngx-tools

Regex: Date regex

benjamincharity opened this issue ยท 1 comments

Needed for the datepicker manual input validation terminus-ui#972.

  • Format: MM/DD/YYYY
  • Should allow slashes or dashes between the numbers
  • Leading 0s for month and date should be allowed but not required.
  • Year should allow 2 or 4 digits.
  • Year should only allow 19xx or 20xx years.

๐ŸŽ‰ This issue has been resolved in version 2.25.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€