View on GitHub
 (18 comments) (0 reactions) (0 assignees)JavaScript (98 forks)github user discovery
good first issue

Repository metrics

Stars
 (216 stars)
PR merge metrics
 (PR metrics pending)

Description

This package is currently not providing a Date validator, which would be very useful for validating date-type inputs. Such a validator is already provided by ember-validators but is not in this project.

https://github.com/offirgolan/ember-validators/blob/v2.0.0/addon/date.js

Having it available would allow us to use changesets for date inputs with something better than

validateFormat({ regex: /[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]/ })

which is currently the best, but somewhat hacky, implementation option.

Contributor guide