[issue42091] strftime returns empty string for -d, -I 3.8.3

Eric V. Smith report at bugs.python.org
Mon Oct 19 17:25:33 EDT 2020


Eric V. Smith <eric at trueblade.com> added the comment:

Can you tell us what the expected behavior is?

>From the strftime docs: "The full set of format codes supported varies across platforms, because Python calls the platform C library’s strftime() function, and platform variations are common. To see the full set of format codes supported on your platform, consult the strftime(3) documentation."

You're probably just seeing platform-specific behavior.

On cygwin, I get an empty string.

----------
nosy: +eric.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42091>
_______________________________________


More information about the Python-bugs-list mailing list