[issue17139] dateTime.now() return format missing decimal seconds.

Mark Dickinson report at bugs.python.org
Tue Feb 5 22:57:51 CET 2013


Mark Dickinson added the comment:

This is a feature request rather than a bug report;  changing fields accordingly.

Also, given the discussion leading to the rejection of issue 1074462, and the fact that you can now use %f in strftime as an easy way to get consistent output (issue 1158), I'm closing this as rejected.

>>> d = datetime.datetime(2013, 10, 11, 12, 34, 56, 0)
>>> d.strftime("%Y-%m-%d %H:%M:%S.%f")
'2013-10-11 12:34:56.000000'

----------
resolution:  -> rejected
status: open -> closed
type: behavior -> enhancement
versions: +Python 3.4 -Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17139>
_______________________________________


More information about the Python-bugs-list mailing list