[issue7789] Issue using datetime with format()
R. David Murray
report at bugs.python.org
Tue Jan 26 20:52:25 CET 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
If it is, it isn't any place obvious. I thought I remembered something about using strftime strings in format, but when I looked in the docs for datetime and the section on the format mini language I couldn't find it, so I ended up doing '{} ...'.format(x.strftime("...") in my code...
----------
nosy: +r.david.murray
versions: +Python 2.7, Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7789>
_______________________________________
More information about the Python-bugs-list
mailing list