[docs] [issue13305] datetime.strftime("%Y") not consistent for years < 1000
STINNER Victor
report at bugs.python.org
Sat Mar 12 02:14:52 EST 2016
STINNER Victor added the comment:
Elena's issue13305.diff:
"Zero padding can be forced on some platforms by using e.g. ``%4Y``"
Sorry, I still doesn't understand the change. %4Y doesn't work with strptime() and it only work with strftime() on very few platforms.
Can you explain when %4Y should be used? strftime() and/or strptime()? Which platform?
To me, it looks wrong to document %4Y since it almost never works...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13305>
_______________________________________
More information about the docs
mailing list