X-Git-Url: https://git.sommitrealweird.co.uk/rss2maildir.git/blobdiff_plain/52830641556fa8f0423677b9d48b35ea54b4f9bf..f089479119f6426cd7d3309b170bd9f9a0a2d1d8:/rss2maildir.py?ds=sidebyside diff --git a/rss2maildir.py b/rss2maildir.py index 4ee2126..67121c5 100755 --- a/rss2maildir.py +++ b/rss2maildir.py @@ -742,6 +742,8 @@ def parse_and_deliver(maildir, url, statedir): except: pass msg.add_header("Date", createddate) + msg.add_header("X-rss2maildir-rundate", datetime.datetime.now() \ + .strftime("%a, %e %b %Y %T -0000")) subj_gen = HTML2Text() title = item["title"] title = re.sub(u'<', u'<', title)