[issue19475] Add timespec optional flag to datetime isoformat() to choose the precision
Guido van Rossum
report at bugs.python.org
Tue Dec 15 12:34:46 EST 2015
Guido van Rossum added the comment:
I like the idea. I have one suggestion: can we add 'milliseconds' as an option too? And might a well add 'nanoseconds' too, for future-proofing. I suppose there isn't a real use case for 'hours' but it seems silly to leave it out. I expect that 'minutes' will be the most popular option, since HH:MM is the precision that most people care about for meetings and stuff.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19475>
_______________________________________
More information about the Python-bugs-list
mailing list