[issue7584] datetime.rfcformat() for Date and Time on the Internet

Alexander Belopolsky report at bugs.python.org
Wed Jul 14 00:52:23 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Adding issue 7989 as a dependency because having pure python implementation in the CPython tree will make it much easier to experiment with new datetime features.

I am still -1 on adding specialized formatting methods to the datetime class.  I think this should be done in specialized modules.  On the other hand, datetime module should provide facilities to easily implement such methods and there does not seem to be a good solution for implementing locale independent formats.  I would like to consider the idea of adding datetime.cstrftime() which provides formatting equivalent to datetime.strftime() in "C" locale.  Another feature that will be needed to implement rfcformat, would be a GNU date style "%:z" code.

----------
dependencies: +Add pure Python implementation of datetime module to CPython

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7584>
_______________________________________


More information about the Python-bugs-list mailing list