]> granicus.if.org Git - python/commit
Fix issue 2782: be less strict about the format string type in strftime.
authorGregory P. Smith <greg@mad-scientist.com>
Mon, 2 Jun 2008 04:05:52 +0000 (04:05 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Mon, 2 Jun 2008 04:05:52 +0000 (04:05 +0000)
commit137d824148f9322c741b16d90ada72fc558b9a1c
tree6e2a7c1faa9e5b1e7b6490a735b521d729dfbaad
parent8856ddae2522c644132b5d0730ab60021f2ce13e
Fix issue 2782: be less strict about the format string type in strftime.
Accept unicode and anything else ParseTuple "s#" can deal with.  This
matches the time.strftime behavior.
Lib/test/test_datetime.py
Misc/NEWS
Modules/datetimemodule.c