Knockout validation rules for dates
Knockout Validation rules for dates
bower install koco-date-validation-rules
This is a shared module that is used in many other modules. The convention is to require the handler in the
knockout-validation-rules.js file like so:
There are two date validation rules included.
Checks the current value against a user-specified date format. If no format is provided, the default is 'YYYY-MM-DD HH:mm'
Checks the current value against another date to ensure that the first is later. Useful for date range pickers.