This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
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) * (Python committer) | 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 -> closed resolution: wont fix messages: + msg231172 |
| 2014年11月14日 17:24:12 | ethan.furman | set | nosy:
+ lemburg, belopolsky, ethan.furman |
| 2014年11月14日 15:56:01 | spalac24 | create | |