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

adding synonymous date/time #351

Open
arjunmenon opened this issue Feb 11, 2017 · 1 comment
Open

adding synonymous date/time #351

arjunmenon opened this issue Feb 11, 2017 · 1 comment
Labels

Comments

@arjunmenon
Copy link

Hey Man
Is there a way to add certain date/time objects which can mean the same?

I tried parsing day after tomorrow but it returns nil. It would correctly parse 2 days from now though.

Anyway to make them synonymous? Or someway to fix this?

@davispuh
Copy link
Collaborator

This format isn't implemented, but it already works in my unfinished rewrite branch (#347). There it's very easy to add new date/time formats (lib/chronic/definition.rb)

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

No branches or pull requests

2 participants