[issue7584] datetime.rfcformat() for Date and Time on the Internet
Alexander Belopolsky
report at bugs.python.org
Wed Jun 13 23:31:35 CEST 2012
Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:
David,
Isn't the requested feature now implemented as email.utils.format_datetime()? Also, what is the difference between RFC 3339 format and the one provided by datetime.isoformat?
>>> print(datetime(2000,1,1, tzinfo=timezone.utc).isoformat('T'))
2000-01-01T00:00:00+00:00
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7584>
_______________________________________
More information about the Python-bugs-list
mailing list