Fixed date for feeds with a date field (#6398)
authorYves Marcoz <yves@marcoz.org>
Sun, 12 Sep 2010 17:50:32 +0000 (10:50 -0700)
committerYves Marcoz <yves@marcoz.org>
Sun, 12 Sep 2010 17:50:32 +0000 (10:50 -0700)
src/rss_sqlite.py

index fc8a4cd..9c40c3b 100644 (file)
@@ -310,7 +310,7 @@ class Feed:
         elif entry.has_key("published_parsed"):
             return timegm(entry["published_parsed"])
         else:
-            return 0
+            return time.time()
         
     def extractContent(self, entry):
         content = ""