[issue31498] Default values for zero in time.strftime()

Denis Osipov report at bugs.python.org
Mon Sep 18 23:34:04 EDT 2017


Denis Osipov added the comment:

It seems strange to me that time.strftime() returns formatted date with wrong day of week and day of year values. So, I think it's probably a bug.
But I'm just learning Python and programming and I think that it can be intentional behavior.
If it's a bug I'd like to try to fix it. Otherwise could someone tell me why this behavior is OK?

----------

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


More information about the Python-bugs-list mailing list