Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add standard date comparators #108

Open
BenJam opened this issue Feb 15, 2013 · 1 comment
Open

Add standard date comparators #108

BenJam opened this issue Feb 15, 2013 · 1 comment

Comments

@BenJam
Copy link

BenJam commented Feb 15, 2013

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.

@thedersen
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants