Alexander Belopolsky <[email protected]> added the comment:
Would issue9527 address your request? Note that datetime.strftime already
supports %z:
>>> from datetime import *
>>> datetime.now(timezone.utc).strftime('%c %z')
'Mon Sep 13 13:43:19 2010 +0000'
(I assume you meant to write %c, not %C.)
----------
assignee: -> belopolsky
dependencies: +Add aware local time support to datetime module
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1475397>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com