# HG changeset patch # User Malcolm Matalka # Date 1588091580 -7200 # Tue Apr 28 18:33:00 2020 +0200 # Node ID 168b1bf90b54766abc8013dc098818daf936da7c # Parent 88a686cddf5a2405f59f3e3955cb758d5875e694 FIX Set feedup to max feedtime diff --git a/feed2maildir/converter.py b/feed2maildir/converter.py --- a/feed2maildir/converter.py +++ b/feed2maildir/converter.py @@ -135,6 +135,7 @@ except: # it is naive feedtime = feedtime.replace(tzinfo=dateutil.tz.tzutc()) if not oldtime or oldtime < feedtime: + feedup = max(feedup, feedtime) self.output('Oldtime : {} : Feedtime: {} : Link : {}'.format(oldtime, feedtime, post.link))