duckling_old icon indicating copy to clipboard operation
duckling_old copied to clipboard

Upper bound in interval (let's gather some use cases here)

Open l5t opened this issue 9 years ago • 0 comments

from jstanden: When looking at the API output, I see that "from noon until 2pm" has a granularity of "hour". That's probably the main issue -- where it's adding an extra hour to make an exclusive upper bounds. The granularity of 2pm should really be "minute", as it should be interpreted as "14:00:00" not "14:59:59".

I see a similar result if I do "from noon until 2:00pm". The granularity switches to "minute" and the upper bound is "14:01:00".

So the problem is that "2pm" as an "until" upper bound has an extra hour added to it, when it should probably be normalized to 2:00pm with a granularity in minutes.

l5t avatar Apr 14 '15 23:04 l5t