rustling-ontology
rustling-ontology copied to clipboard
TimeInterval resolution issue
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 })