datetime.stdptime help
Laszlo Nagy
gandalf at shopzeus.com
Wed May 28 07:04:23 EDT 2008
> Out of curiosity -- just what zone /is/ "BDT"... The only thing that
> comes to mind is a type for "BST" (British Summer Time)
>
I think you are right. This date string was taken from a .co.uk site. :-)
My fault. It was a 3 letter code after a date, I was sure that it is a
time zone. Apparently, it is not. :-)
The "did not match format" message was misleading me. It would be better
to throw ValueError("Unknown time zone: BDT"). :-)
Thank you,
Laszlo
More information about the Python-list
mailing list