Issue 22871: datetime documentation incomplete (original) (raw)
Issue22871
Created on 2014-11-14 15:56 by spalac24, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Messages (2) | ||
---|---|---|
msg231162 - (view) | Author: Santiago Palacio Gómez (spalac24) | Date: 2014-11-14 15:56 |
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 | ||
msg231172 - (view) | Author: Alexander Belopolsky (belopolsky) * ![]() |
Date: 2014-11-14 19:31 |
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-behavior |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:10 | admin | set | github: 67060 |
2014-11-14 19:31:29 | belopolsky | set | status: open -> closedresolution: wont fixmessages: + |
2014-11-14 17:24:12 | ethan.furman | set | nosy: + lemburg, belopolsky, ethan.furman |
2014-11-14 15:56:01 | spalac24 | create |