[ python-Feature Requests-1396946 ] %ehrntDRT support for time.strptime

SourceForge.net noreply at sourceforge.net
Tue Jan 10 20:18:16 CET 2006


Feature Requests item #1396946, was opened at 2006-01-04 16:24
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1396946&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
>Category: Python Library
>Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Johan Dahlin (zilche)
Assigned to: Nobody/Anonymous (nobody)
Summary: %ehrntDRT support for time.strptime 

Initial Comment:
As defined in:
http://www.opengroup.org/onlinepubs/009695399/functions/strptime.html

%r -> locales representation of time + AM/PM
%e -> %d
%h -> %b
%D -> %m/%d/%y
%R -> %H:%M
%T -> %H:%M:%S
%n/%t -> whitespace

----------------------------------------------------------------------

>Comment By: Georg Brandl (birkenfeld)
Date: 2006-01-10 20:18

Message:
Logged In: YES 
user_id=1188172

If these codes are supported in strptime, they must also be
supported in strftime. But the platform strftime is not
guaranteed to support these escapes on e.g. Windows.

I don't know if rewriting strftime in Python makes sense.

Anyhow, turning this into a feature request.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=1396946&group_id=5470


More information about the Python-bugs-list mailing list