[New-bugs-announce] [issue44787] Missing valid directive %D in datetime.strftime() documentation

Marty report at bugs.python.org
Fri Jul 30 16:24:45 EDT 2021


New submission from Marty <vpjtqwv0101 at gmail.com>:

Output of: datetime.datetime.now().strftime('%D')
is equivalent for: datetime.datetime.now().strftime('%m/%d/%y')

Is there a reason that directive %D is missing in documentation? Are there other hidden directives?
https://docs.python.org/3/library/datetime.html#strftime-and-strptime-behavior

----------
messages: 398606
nosy: vpjtqwv0101
priority: normal
severity: normal
status: open
title: Missing valid directive %D in datetime.strftime() documentation
versions: Python 3.9

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


More information about the New-bugs-announce mailing list