The Following 2 Users Say Thank You to epage For This Useful Post: | ||
![]() |
2010-03-05
, 03:59
|
Posts: 3 |
Thanked: 7 times |
Joined on Mar 2010
|
#1162
|
The Following 3 Users Say Thank You to iXce For This Useful Post: | ||
![]() |
2010-03-05
, 22:33
|
Posts: 3 |
Thanked: 7 times |
Joined on Mar 2010
|
#1163
|
The Following 3 Users Say Thank You to iXce For This Useful Post: | ||
![]() |
2010-03-06
, 00:08
|
|
Posts: 1,684 |
Thanked: 1,562 times |
Joined on Jun 2008
@ Austin, TX
|
#1164
|
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 !
The Following User Says Thank You to epage For This Useful Post: | ||
![]() |
2010-03-10
, 06:23
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#1166
|
![]() |
2010-03-10
, 06:57
|
Posts: 240 |
Thanked: 48 times |
Joined on Apr 2009
|
#1167
|
The Following User Says Thank You to mrdally204 For This Useful Post: | ||
![]() |
2010-03-10
, 07:14
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#1168
|
![]() |
2010-03-11
, 02:27
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#1169
|
The Following User Says Thank You to Addison For This Useful Post: | ||
![]() |
2010-03-11
, 02:41
|
|
Posts: 932 |
Thanked: 278 times |
Joined on Sep 2009
@ Kentucky
|
#1170
|
770, n810, n900, Ideapad S10-3t
TheOneRing, DialCentral, Gonvert, Quicknote, Multilist, ejpi, nQa, Waters of Shiloah
Programming Blog