Open arjunmenon opened 7 years ago
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.
day after tomorrow
nil
2 days from now
Anyway to make them synonymous? Or someway to fix this?
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)
rewrite
lib/chronic/definition.rb
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 returnsnil
. It would correctly parse2 days from now
though.Anyway to make them synonymous? Or someway to fix this?