[issue1074462] Irregular behavior of datetime.__str__()

Skip Montanaro report at bugs.python.org
Mon Oct 15 14:50:06 CEST 2007


Skip Montanaro added the comment:

Zooko> Here is a note for the next person who comes to this ticket
    Zooko> wondering why isoformat() exhibits this slightly un-Pythonic
    Zooko> behavior.

What are you referring to, that it doesn't display any microseconds when the
microsecond field happens to be 0 or that it doesn't truncate the fractions
of a second to milliseconds?

Skip

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1074462>
_____________________________________


More information about the Python-bugs-list mailing list