Improve date handling in .eml files
commit449261bf41cc1e2b8b6949e4dc31b3cebbb35ab7
authorOlly Betts <olly@survex.com>
Mon, 17 Sep 2018 00:45:17 +0000 (17 12:45 +1200)
committerOlly Betts <olly@survex.com>
Mon, 17 Sep 2018 00:48:46 +0000 (17 12:48 +1200)
tree8a5677515cc7afc885827c9219737ee296cfce47
parentfee126b4837dc1433b435d63c9d0bae1b40b0ed1
Improve date handling in .eml files

Handle a "Date:" header without the day of the week, which is allowed
by RFC822 and RFC2822.

If the date can't be parsed, just omit the date information rather than
failing to process the file.

(cherry picked from commit 461342b0070771c737b34e5b1f6c2464dfe6cb78)
xapian-applications/omega/rfc822tohtml.in