Created
November 18, 2010 13:15
-
-
Save Eugeny/704955 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> from datetime import * | |
>>> datetime.strptime('+0300', '%z') | |
Traceback (most recent call last): | |
File "<stdin>", line 1, in <module> | |
File "/usr/lib/python2.6/_strptime.py", line 317, in _strptime | |
(bad_directive, format)) | |
ValueError: 'z' is a bad directive in format '%z' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment