Thread
:
Dialcentral 1.0
View Single Post
iXce
2010-03-05 , 22:33
Posts: 3 | Thanked: 7 times | Joined on Mar 2010
#
1163
Actually, this first patch worked great on my computer but not on the n900. A simpler (which avoids tricking strptime and all) patch is simply to handle the ValueError exceptions which are /probably/ caused by the extra AM/PM and to do the AM/PM conversion by hand. If the ValueError was not caused by this, it should occur again on the strptime-without-%p call anyway. I attached the corresponding patch. Works great on both my computer and n900 !
Attached Files
0001-Fix-time-parsing-on-locales-which-do-not-use-AM-PM-f.patch.txt
(2.5 KB, 98 views)
Quote & Reply
|
The Following 3 Users Say Thank You to iXce For This Useful Post:
Addison
,
epage
,
mrdally204
iXce
View Public Profile
Find all posts by iXce