snips-nlu icon indicating copy to clipboard operation
snips-nlu copied to clipboard

Datetime does not recognize 24h format

Open Corasonn opened this issue 5 years ago • 1 comments

For the german language "Um 8 Uhr" (at 8 o'clock), snips always recognizes the datetime as pm. "Um 8 Uhr" should be recognized as am and "Um 20 Uhr" as pm.

  • OS: Debian bullseye-slim
  • python version: 3.6
  • snips-nlu version: 0.20.1

Corasonn avatar Feb 20 '20 10:02 Corasonn

I think the behaviour is relative to what time it currently is. If if you run this at 6pm then the next '8 o clock' is 8pm. If you run it at 6am the next '8 o clock' is 8am.

ushmau5 avatar Jun 30 '20 15:06 ushmau5