rustling-ontology icon indicating copy to clipboard operation
rustling-ontology copied to clipboard

TimeInterval resolution issue

Open adrienball opened this issue 6 years ago • 0 comments

Parsing Error

Parsing "from 8am on august 3rd to 10pm on november 3rd 2019" results in a wrong resolution for the from date. The resolution is correct when trying without the trailing "2019".

Version

0.19.0

Language

en

Parser input

from 8am on august 3rd to 10pm on november 3rd 2019

Parser output

DatetimeInterval(DatetimeIntervalOutput { interval_kind: Between { start: 2008-08-03T08:00:00+02:00, end: 2019-11-03T22:00:00+01:00, precision: Exact, latent: false }, datetime_kind: DatePeriod })

Parser expected output (Optional)

DatetimeInterval(DatetimeIntervalOutput { interval_kind: Between { start: 2019-08-03T08:00:00+02:00, end: 2019-11-03T22:00:00+01:00, precision: Exact, latent: false }, datetime_kind: DatePeriod })

adrienball avatar Sep 02 '19 08:09 adrienball