DateTime Oddity in Liferea Backend
- From: "Kevin Kubasik" <kevin kubasik net>
- To: Dashboard <dashboard-hackers gnome org>
- Subject: DateTime Oddity in Liferea Backend
- Date: Mon, 24 Apr 2006 11:48:05 -0400
I'm not really sure why it was originally done that way. But I noticed
that almost all my feeds were from 'Today'. A quick re-index and this
fixes it.
Duplicated in bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=339587
--
Cheers,
Kevin Kubasik
http://blog.kubasik.net/
Index: ./beagled/LifereaQueryable/LifereaQueryable.cs
===================================================================
RCS file: /cvs/gnome/beagle/beagled/LifereaQueryable/LifereaQueryable.cs,v
retrieving revision 1.24
diff -u -r1.24 LifereaQueryable.cs
--- ./beagled/LifereaQueryable/LifereaQueryable.cs 22 Mar 2006 21:18:04 -0000 1.24
+++ ./beagled/LifereaQueryable/LifereaQueryable.cs 24 Apr 2006 15:41:07 -0000
@@ -310,8 +310,8 @@
indexable.MimeType = "text/html";
indexable.HitType = "FeedItem";
- DateTime date = new DateTime (1970, 1, 1);
- date = date.AddSeconds (current_item.Timestamp);
+ //DateTime date = new DateTime (1970, 1, 1);
+ DateTime date = new DateTime (current_item.Timestamp);
indexable.Timestamp = date;
// cleaning up the property names as far as possible
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]