duckling icon indicating copy to clipboard operation
duckling copied to clipboard

Handle intervals like "for two hours"

Open GigiProve opened this issue 6 years ago • 2 comments

I want to manage time interval like From 2PM for 2 hours but Duckling does not return to me the expected time interval (From 2PM to 4PM). It returns, instead, Tuesday, 8 January 2019 at 11:40:00 -0800 (-08:00) :minute. Is there a way to handle this kind of intervals?

GigiProve avatar Jan 08 '19 08:01 GigiProve

Hi @GigiProve, you need to create a rule for this. Are you interested in preparing a PR?

chessai avatar May 07 '21 23:05 chessai

Isn't this working as expected (returns an interval) in master? If so, should you close the issue @chessai?

emlautarom1 avatar Oct 13 '21 20:10 emlautarom1