hohav / py-slippi

Python library for parsing SSBM replay files
MIT License
56 stars 25 forks source link

ValueError: time data '2019-03-09T16:20:03' does not match format '%Y-%m-%dT%H:%M:%S.%f%z' #3

Closed berbaroovez closed 5 years ago

berbaroovez commented 5 years ago

Mac Os Mojave Slippi Build 1.3.2

Having problems with trying to parse information from the files from the gang tournament

Used the following command to download the py-slippi build from github: pip install git+https://github.com/hohav/py-slippi

Getting the error: ValueError: time data '2019-03-09T08:54:03' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'

And it seems to be any file from the gang tournament

hohav commented 5 years ago

Those dates were missing time zones, causing py-slippi's date parsing to fail. I made that more lenient, which fixed things in my tests. Can you fetch the latest master and try again?

avkliskova commented 5 years ago

This is fixed in master but still needs to be pushed to pip.

hohav commented 5 years ago

Fixed, and included in release 1.2.0.