classification
Title: %ehrntDRT support for time.strptime
Type: enhancement Stage: patch review
Components: Library (Lib) Versions: Python 3.2
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: belopolsky, georg.brandl, zilche
Priority: normal Keywords:

Created on 2006-01-04 15:24 by zilche, last changed 2010-07-16 13:39 by BreamoreBoy.

Files
File name Uploaded Description Edit
strptime.diff zilche, 2006-01-04 15:46 patch w/ unittests and documentation review
Messages (2)
msg54702 - (view) Author: Johan Dahlin (zilche) Date: 2006-01-04 15:24
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
msg54703 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-01-10 19:18
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.
History
Date User Action Args
2010-07-16 13:39:37BreamoreBoysetnosy: + belopolsky

versions: + Python 3.2, - Python 3.1, Python 2.7
2009-03-20 23:51:28ajaksu2settitle: %ehrntDRT support for time.strptime -> %ehrntDRT support for time.strptime
stage: patch review
versions: + Python 3.1, Python 2.7
2006-01-04 15:24:46zilchecreate