]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Closes #19475: Added timespec to the datetime.isoformat() method.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sun, 6 Mar 2016 19:58:43 +0000 (14:58 -0500)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sun, 6 Mar 2016 19:58:43 +0000 (14:58 -0500)
commita2998a63c8951ab8254b96860fe64dcaa215eb1f
treee067022674d9f6e00f2124937bfb9a75dca63f7a
parentd07a1cb53b3d5b3b68b92207f308b6bfb9235a33
Closes #19475: Added timespec to the datetime.isoformat() method.

Added an optional argument timespec to the datetime isoformat() method
to choose the precision of the time component.

Original patch by Alessandro Cucci.
Doc/library/datetime.rst
Lib/datetime.py
Lib/test/datetimetester.py
Misc/ACKS
Misc/NEWS
Modules/_datetimemodule.c