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.

classification
Title: support all of strftime(3)
Type: enhancement Stage: resolved
Components: None Versions:
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: belopolsky Nosy List: LambertDW, belopolsky, tleeuwenburg@gmail.com, tonimueller
Priority: normal Keywords:

Created on 2006-07-11 16:58 by tonimueller, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (7)
msg61248 - (view) Author: Toni Mueller (tonimueller) Date: 2006-07-11 16:58
Hello,

I'd like to see support for all of strftime(3) in
time.strftime() and time.strptime().

Thank you!
msg83722 - (view) Author: Tennessee Leeuwenburg (tleeuwenburg@gmail.com) (Python triager) Date: 2009-03-18 00:08
I'd be happy to look at this. Would you be able to detail what is
missing for me, so that it is easier for me to get to grips with what is
involved? I'm not intimately familiar with all of the functionality of
these modules, so if you are able to detail what is missing, then I can
more quickly look at a solution.

Thanks,
-T
msg83726 - (view) Author: David W. Lambert (LambertDW) Date: 2009-03-18 01:19
http://linux.die.net/man/3/strftime

or this link may be in USA, if you care:

http://www.manpagez.com/man/3/strftime/
msg83729 - (view) Author: David W. Lambert (LambertDW) Date: 2009-03-18 02:16
(with similar links for strpfime).


These are reasons a patch may be worth while:

x difficult to work around using ctypes module with c library.

x help(strftime)  advises the programmer to see the reference manual for 
formatting codes.

x Searching bugs.python.org open issues for strftime has 31 hits, some 
related.
msg83731 - (view) Author: David W. Lambert (LambertDW) Date: 2009-03-18 02:17
(I have no clue where the servers are.)
msg83800 - (view) Author: Tennessee Leeuwenburg (tleeuwenburg@gmail.com) (Python triager) Date: 2009-03-19 03:25
I might start trawling through these issues, slowly ticking them off. Thanks
for the links.

-T

On Wed, Mar 18, 2009 at 1:17 PM, David W. Lambert <report@bugs.python.org>wrote:

>
> David W. Lambert <lambertdw@corning.com> added the comment:
>
> (I have no clue where the servers are.)
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1520662>
> _______________________________________
>
msg108680 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-06-26 02:30
time.strftime does support all of the platform strftime(3) format codes.
History
Date User Action Args
2022-04-11 14:56:18adminsetgithub: 43648
2010-07-15 07:02:07belopolskysetstatus: pending -> closed
2010-06-26 02:30:38belopolskysetstatus: open -> pending

assignee: belopolsky

nosy: + belopolsky
messages: + msg108680
resolution: out of date
stage: resolved
2010-06-12 06:11:24belopolskysetfiles: - unnamed
2009-03-19 03:25:20tleeuwenburg@gmail.comsetfiles: + unnamed

messages: + msg83800
2009-03-18 02:17:33LambertDWsetmessages: + msg83731
2009-03-18 02:16:02LambertDWsetmessages: + msg83729
2009-03-18 01:19:42LambertDWsetnosy: + LambertDW
messages: + msg83726
2009-03-18 00:08:33tleeuwenburg@gmail.comsetnosy: + tleeuwenburg@gmail.com
messages: + msg83722
2006-07-11 16:58:24tonimuellercreate