don't future date posts when backfilling

fixes #36

thanks @KevinMarks
This commit is contained in:
Kyle Mahan 2015-10-19 04:21:47 +00:00
parent 5e334b8a05
commit 0b354acaeb

View file

@ -457,7 +457,7 @@ def hentry_to_entry(hentry, feed, backfill, now):
# retrieved time is now unless we're backfilling old posts
retrieved = now
if backfill and published:
if backfill and published and published < retrieved:
retrieved = published
author = hentry.get('author', {})