[issue5997] strftime is broken

2009-05-11 Thread Jonathan
Jonathan added the comment: Works perfectly now, thank you and sorry for the inaccurate report. -- ___ Python tracker ___ ___ Python-b

[issue5997] strftime is broken

2009-05-11 Thread R. David Murray
R. David Murray added the comment: Please read http://docs.python.org/library/locale.html specifically the docs for 'setlocale'. Before you call setlocale, python's locale is 'C', just like for any C program before it calls setlocale. Python 2.6.2 (r262:71600, May 2 2009, 15:06:57) [GCC 4.3

[issue5997] strftime is broken

2009-05-11 Thread Jonathan
New submission from Jonathan : [...@jaydee Development]$ cat is-strftime-broken.py #!/usr/bin/env python import subprocess import time date_process = subprocess.Popen( ("date", "+%x"), stdout=subprocess.PIPE) from_date_command = date_process.communicate()[0].rstrip() from_strftime = time.strf