5 Apr
2015
5 Apr
'15
4:16 a.m.
On Sun, Apr 5, 2015 at 12:00 AM, Steven D'Aprano
But frankly, I would be satisfied with the list and meaning of format codes being documented somewhere where I can inspect it at runtime using help(), without having to run `man strftime` on a Linux system or search the Internet.
That's easy. We added format codes to help('time.strftime') a couple years ago [1]. We can easily add the same to datetime.strftime. Feel free to open an issue. We don't need a PEP for that. :-) [1] http://bugs.python.org/issue9650