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 date predicate #26

Merged
merged 1 commit into from
Nov 25, 2017
Merged

Add date predicate #26

merged 1 commit into from
Nov 25, 2017

Conversation

SamVerschueren
Copy link
Collaborator

Not sure if we should add something like between, sameDay, sameMonth, sameYear as well? Don't have any use case for now, so I would be fine to start off with these two.

@SamVerschueren SamVerschueren mentioned this pull request Nov 24, 2017
87 tasks
@sindresorhus
Copy link
Owner

We can add more out of need, but we should be very careful about what we add. We don't want to end up replicating Moment.js.

@sindresorhus sindresorhus merged commit f2be585 into master Nov 25, 2017
@sindresorhus sindresorhus deleted the date branch November 25, 2017 10:25
@sindresorhus
Copy link
Owner

👌

@SamVerschueren
Copy link
Collaborator Author

We don't want to end up replicating Moment.js.

Yes, you're totally right!

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

Successfully merging this pull request may close these issues.

None yet

2 participants