Message107477
| Author |
pitrou |
| Recipients |
belopolsky, orsenthil, pitrou |
| Date |
2010年06月10日.20:02:08 |
| SpamBayes Score |
0.0016538564 |
| Marked as misclassified |
No |
| Message-id |
<1276200129.98.0.272835458624.issue8963@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Strangely, it also works here from the prompt:
>>> import time
>>> time.strptime('Thu, 10 Jun 2010 19:03:39 GMT', '%a, %d %b %Y %H:%M:%S GMT')
time.struct_time(tm_year=2010, tm_mon=6, tm_mday=10, tm_hour=19, tm_min=3, tm_sec=39, tm_wday=3, tm_yday=161, tm_isdst=-1)
>>> import locale
>>> locale.getlocale(locale.LC_TIME)
(None, None)
Apparently, something sets the locale before running the test. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月10日 20:02:10 | pitrou | set | recipients:
+ pitrou, belopolsky, orsenthil |
| 2010年06月10日 20:02:09 | pitrou | set | messageid: <1276200129.98.0.272835458624.issue8963@psf.upfronthosting.co.za> |
| 2010年06月10日 20:02:08 | pitrou | link | issue8963 messages |
| 2010年06月10日 20:02:08 | pitrou | create |
|