gunthercox / ChatterBot

ChatterBot is a machine learning, conversational dialog engine for creating chat bots
https://chatterbot.readthedocs.io
BSD 3-Clause "New" or "Revised" License
14.03k stars 4.44k forks source link

Issue with parsing.py to extract date time from text like "meeting today at 9pm" #1347

Open coolrb opened 6 years ago

coolrb commented 6 years ago

Hello There, I have found an issue with parsing.py to extract date time from text. The text entered by user is "Your dental appointment with Dr P. Delvour is scheduled today at 9:00pm." I was expecting to get 2018-07-14 21:00 but the value returned is 2018-07-15 08:52:21.272. I tried to debug it to find out the issue but could not. Please let me know is there anyway I can fix this issue?

wilddylan commented 6 years ago

Time Zone ?

coolrb commented 6 years ago

Let it pick up default timezone i.e. local

gunthercox commented 6 years ago

This appears to be different, but likely related to #651