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

Wrong dates for "winter" if year is provided

Open adrienball opened this issue 6 years ago • 0 comments
trafficstars

Forwarding the issue https://github.com/snipsco/snips-nlu/issues/833.

Hi,

Depending on how a question is asked, the timeframe identified for winter varies:

  • "in winter":
"value": {
        "from": "2019-12-21 00:00:00 +01:00",
        "kind": "TimeInterval",
        "to": "2020-03-21 00:00:00 +01:00"
}
  • "in winter 2019" (dates in 2020 are removed)
"value": {
        "from": "2019-12-21 00:00:00 +01:00",
        "kind": "TimeInterval",
        "to": "2020-01-01 00:00:00 +01:00"
}

Best, Joffrey

adrienball avatar Jul 24 '19 12:07 adrienball