Mümin Öztürk added the comment:
more tests and some documentation added.
--
Added file: http://bugs.python.org/file35816/strftime3.patch
___
Python tracker
<http://bugs.python.org/issue12
Mümin Öztürk added the comment:
I added an improved patch according to akira's explanation for strftime and
rounding problem.
--
Added file: http://bugs.python.org/file35785/strftime2.patch
___
Python tracker
<http://bugs.python.org/is
Mümin Öztürk added the comment:
I made a patch for datetime.strftime('%s'). it takes tzinfo into consideration.
>>> datetime.datetime(1970,1,1).strftime("%s")
'-7200'
>>> datetime.datetime(1970,1,1, tzinfo=datetime.timezone.utc).strftim