comtravo / ctparse

Parse natural language time expressions in python
https://www.comtravo.com
MIT License
131 stars 24 forks source link

Fix to disable military time expression #87

Closed gabrielelanaro closed 4 years ago

gabrielelanaro commented 4 years ago

Expression of the kind 5 Feb 2020 would get parsed as 5 Feb 2020 at 20:20, this fix introduces a heuristic that resolves this to a year if this is the current year.