Message26182
Logged In: YES
user_id=259388
Ok, sounds good.
For anyone trying to work around this, unicode date strings
should be encoded to simple Python strings (type of str)
before passing into strptime. Here's an updated version of
the aforementioned test case demonstrating an acceptable
workaround:
import locale, time
locale.setlocale(locale.LC_TIME, 'de_DE')
date = u'September'.encode()
format = '%B'
time.strptime(date, format)
--
Adam Monsen <adamm@wazamatta.com>
http://adammonsen.com/ |
|
Date |
User |
Action |
Args |
2007-08-23 14:34:10 | admin | link | issue1280061 messages |
2007-08-23 14:34:10 | admin | create | |
|