2016-07-02, 21:29
I also bumped into this on a Jarvis platform just now. Workaround that also worked for me:
Code:
Code:
try:
datetime.strptime(date_string, format)
except TypeError:
datetime(*(time.strptime(date_string, format)[0:6]))