evaneliasyoung / steam-py

A Python API for Steam userdata
GNU General Public License v3.0
3 stars 0 forks source link

time parsing error #1

Open ingmarinho opened 3 years ago

ingmarinho commented 3 years ago

ValueError: time data '2020 5 Jul 06:27PM' does not match format '%Y %b %d %I:%M%p'

In init.py change the following: on line 95 & 96 & 211 change '%Y %b %d %I:%M%p' to '%Y %d %b %I:%M%p' (switch the b and d around) also on line 211 change {tmp[1][:2]:0>2} to {tmp[1][:3]:0>2} (i think)

this fixed it for me

TgzFR commented 3 years ago

It works for me, thanks ;)