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

SourceForge.net noreply at sourceforge.net
Mon Jun 13 19:32:04 CEST 2005


Bugs item #1219840, was opened at 2005-06-13 10:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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.


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

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