Commit 41fd17f2 authored by Sam Ruby's avatar Sam Ruby

Continue to tweak logic to get entry updated time

parent fe3c1664
......@@ -255,9 +255,7 @@ def spiderFeed(feed, only_if_new=0):
if data.feed.has_key('updated_parsed'):
mtime = calendar.timegm(data.feed.updated_parsed)
mtime = time.time()
if mtime > time.time(): mtime = None
if not mtime or mtime > time.time(): mtime = time.time()
entry['updated_parsed'] = time.gmtime(mtime)
# apply any filters
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment