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 2012年06月14日 12:48 by kfairbanks, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg162779 - (view) | Author: Kevin (kfairbanks) | Date: 2012年06月14日 12:48 | |
When using %F and %T in strftime on Mac and Linux the function works as expected, but it fails on Windows. Although these format strings are not in the Python documentation, the inconsistent behavior should be noted or corrected. If possible, the %F and %T could be expanded in some way on Windows systems or cause a format string error on POSIX systems so that the function behaves the same way across platforms. |
|||
| msg162785 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年06月14日 13:29 | |
The reason the codes are not documented is that they are not supported. Because we delegate to the system strftime, they happen to work. To change that the most sensible thing would be to have our own strftime implementation, which makes this essentially a duplicate of issue 3173. See also issue 14441. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:31 | admin | set | github: 59270 |
| 2012年06月14日 13:29:27 | r.david.murray | set | status: open -> closed superseder: external strftime for Python? nosy: + r.david.murray messages: + msg162785 resolution: duplicate stage: resolved |
| 2012年06月14日 12:48:00 | kfairbanks | create | |