backbone.validation icon indicating copy to clipboard operation
backbone.validation copied to clipboard

Add standard date comparators

Open BenJam opened this issue 12 years ago • 1 comments

I'm doing this at the moment so I might as well document it and submit a pull request answering this. Comments welcome but I'm going for something like:

before(date)

after(date)

between(date, date)

would be nice to add some sugar around notion of now, today, this week, this month, this year etc.

if anyone has an comments do let me know.

BenJam avatar Feb 15 '13 04:02 BenJam

For this to be included, it has to be i18n compatible.

thedersen avatar Mar 07 '13 13:03 thedersen