Problems with strptime
Michael Ströder
michael.stroeder at inka.de
Sun Oct 10 09:24:22 EDT 1999
HI!
I'm using time.strptime to parse several time-stamp strings like
time.strptime('451014100704Z','%y%m%d%H%M%SZ') with year without
century. This does not work in every case. Here's a list of time-strings
which failed. I cannot see a reason or a pattern why this fails.
***strptime failed 000311212045Z
***strptime failed 000323170912Z
***strptime failed 000325110134Z
***strptime failed 000212090033Z
***strptime failed 000311213753Z
***strptime failed 000311212045Z
***strptime failed 000323170912Z
***strptime failed 000325110134Z
***strptime failed 000311213753Z
My system is: S.u.S.E.-Linux 6.2 based on glibc-2.1 with pre-installed
Python 1.5.2.
Ciao, Michael.
More information about the Python-list
mailing list