I think, the yahoo has changed date format to yyyy-mm-dd since February,
2007 that's why LibYahoo.0.33.so for Qtstalker was emitting 'Bad date'
messages in both the 'Auto History' and 'History' methods.
I after tweaking around a bit, have solved this problem; though I'm not
sure how good it is, but is working fine for me.
--- Yahoo.cpp.orig 2006-11-18 03:15:00.000000000 +0000
+++ Yahoo.cpp 2007-03-14 18:31:00.000000000 +0000
@@ -494,6 +494,15 @@
if (l.count() != 3)
return s;
+ if (l[0].toInt() > 1900) {
+ s = l[0];
+ s.append(l[1]);
+ s.append(l[2]);
+ s.append("000000");
+
+ return s;
+ }
+
s = l[2];
if (s.toInt() > 29)
s.prepend("19");
I'm submitting a patch in a hope that this would be useful for other users
of Qtstalker :)
Thank you, and yes, a big thanks for the Qtstalker too.
Regards,
Nobody/Anonymous
None
None
Public
|
Date: 2007-05-22 01:45
|
|
Date: 2007-03-15 17:26
|
|
Date: 2007-03-15 09:51
|
| Filename | Description | Download |
|---|---|---|
| Yahoo.cpp.patch | Unified diff | Download |
| Yahoo.cpp.2.patch | Unified diff | Download |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use