[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision
Alexander Belopolsky
report at bugs.python.org
Tue Dec 15 15:22:28 EST 2015
Alexander Belopolsky added the comment:
> Actually, nanosecond = dt.microsecond*1000.
I was thinking in terms breaking the fractional part of say
00:00:00.123456789
into
mili = 123
micro = 456
nano = 789
but you are right, a correct analogy for dt.microsecond in this case will be nanosecond=123456789 or 123456000 until we start storing enough precision.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19475>
_______________________________________
More information about the Python-bugs-list
mailing list