Issue1071
Created on 2008-07-16.06:31:40 by ReneLeonhardt, last changed 2008-09-15.03:39:46 by leosoto.
File name |
Uploaded |
Description |
Edit |
Remove |
test-strftime.py
|
ReneLeonhardt,
2008-07-16.06:31:39
|
Test strftime(%a) |
|
|
msg3333 (view) |
Author: (ReneLeonhardt) |
Date: 2008-07-16.06:31:38 |
|
It seems that Jython respects the system locale for time.strftime(),
while Python uses the English locale values for %a and %b (in my case).
And it looks wrong that Jython uses the 2-letter %a while Python uses
the 3-letter format.
On Wednesday it prints "Wed" in Python and "Mi" for Jython (german
system locale).
|
msg3483 (view) |
Author: (ReneLeonhardt) |
Date: 2008-09-07.17:40:45 |
|
The problem still exists in 2.5a2.
|
msg3566 (view) |
Author: Leonardo Soto (leosoto) |
Date: 2008-09-14.00:59:08 |
|
Interestingly, http://docs.python.org/lib/module-time.html says that
strftime should use the locale names.
|
msg3568 (view) |
Author: Nicholas Riley (nriley) |
Date: 2008-09-14.01:13:01 |
|
At least on Windows, CPython does return localized month/day names, so
this is not a bug. See, for example:
http://bugs.python.org/issue836035
|
msg3599 (view) |
Author: Leonardo Soto (leosoto) |
Date: 2008-09-15.03:39:46 |
|
OK, so I'm closing this as invalid. If new arguments are made, we can
always open it again.
|
|
Date |
User |
Action |
Args |
2008-09-15 03:39:46 | leosoto | set | status: open -> closed resolution: invalid messages:
+ msg3599 |
2008-09-14 01:13:01 | nriley | set | nosy:
+ nriley messages:
+ msg3568 |
2008-09-14 00:59:08 | leosoto | set | nosy:
+ leosoto messages:
+ msg3566 |
2008-09-07 17:40:45 | ReneLeonhardt | set | messages:
+ msg3483 |
2008-07-16 06:31:40 | ReneLeonhardt | create | |
|