Eric Smith <[email protected]> added the comment:
This is by design. Where d is a datetime, format(d, format_string)
returns d.strftime(format_string).
>>> d.strftime('30')
'30'
----------
resolution: -> invalid
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue6316>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com