chronic icon indicating copy to clipboard operation
chronic copied to clipboard

adding synonymous date/time

Open arjunmenon opened this issue 8 years ago • 1 comments

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?

arjunmenon avatar Feb 11 '17 20:02 arjunmenon

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)

davispuh avatar Feb 12 '17 22:02 davispuh