adeshpande3 / Facebook-Messenger-Bot

Facebook chatbot that I trained to talk like me using Seq2Seq
MIT License
712 stars 266 forks source link

Linkedin Date time format issue #60

Closed vasantvohra closed 4 years ago

vasantvohra commented 4 years ago

ValueError: time data '2019-04-25T10:44:36' does not match format '%B %d, %Y, %I:%M %p'

https://github.com/adeshpande3/Facebook-Messenger-Bot/blob/312a6701429267e30a62cf15f2db3f6b4f1b3ec8/createDataset.py#L204

vasantvohra commented 4 years ago
dateTimeConverter = lambda x: datetime.strptime(x,'%Y-%m-%dT%H:%M:%S')

This worked for me...