[issue22871] datetime documentation incomplete
New submission from Santiago Palacio Gómez:
In the datetime documentation page https://docs.python.org/2/library/datetime.html
In the directive sections, there are a few things that are not documented there. I really don't know all the possible directives, but the few examples I'm aware of, and how they seem to work for me:
%D seems to behave as the default %x (None locale)
%h seems to behave as %b
----------
assignee: docs@python
components: Documentation
messages: 231162
nosy: docs@python, spalac24
priority: normal
severity: normal
status: open
title: datetime documentation incomplete
type: enhancement
versions: Python 2.7
_______________________________________
Python tracker
Changes by Ethan Furman
Alexander Belopolsky added the comment:
If you read the paragraph preceding the table of directives [1], you will see that "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."
[1] https://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavi...
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker
participants (3)
-
Alexander Belopolsky
-
Ethan Furman
-
Santiago Palacio Gómez