Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong dates for "winter" if year is provided #189

Open
adrienball opened this issue Jul 24, 2019 · 0 comments
Open

Wrong dates for "winter" if year is provided #189

adrienball opened this issue Jul 24, 2019 · 0 comments
Assignees
Labels
bug fixpending Fix done. Version with fix will be added to ticket.

Comments

@adrienball
Copy link
Collaborator

Forwarding the issue snipsco/snips-nlu#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

@rosastern rosastern self-assigned this Sep 27, 2019
@rosastern rosastern added bug fixpending Fix done. Version with fix will be added to ticket. and removed enhancement labels Oct 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixpending Fix done. Version with fix will be added to ticket.
Projects
None yet
Development

No branches or pull requests

2 participants