[issue9811] strftime strips '%' from unknown format codes on OS X

Sverre Johansen report at bugs.python.org
Thu Sep 9 12:35:23 CEST 2010


Sverre Johansen <sverre.johansen at gmail.com> added the comment:

This is because of differences in GNU and BSD C stdlib; I get the same results using the BSD and GNU versions of `date`.

    $ date +"%q"

What does Python typically do in cases like this?

----------

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


More information about the Python-bugs-list mailing list