[ python-Bugs-1219840 ] Need locale arg to strftime()

SourceForge.net noreply at sourceforge.net
Tue Jun 14 10:59:15 CEST 2005


Bugs item #1219840, was opened at 2005-06-13 12:32
Message generated for change (Comment added) made by rhettinger
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1219840&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: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Wilfredo Sanchez (wsanchez)
>Assigned to: Brett Cannon (bcannon)
Summary: Need locale arg to strftime()

Initial Comment:
strftime()'s behavior is dependant on your current locale.  Sometimes 
this is undesireable, such as when parsing HTTP dates (RFC 2068, 
3.3.1), where on is expected to create and parse dates using English 
month and week names.

A similar problem exists with the lower() string method.

In either case locale magic isn't always desirable, and it would be 
useful to add a locale argument to specify which locale to use.


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

>Comment By: Raymond Hettinger (rhettinger)
Date: 2005-06-14 03:59

Message:
Logged In: YES 
user_id=80475

Brett, do you want to take this one?

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

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


More information about the Python-bugs-list mailing list