aerc/lib
Reto Brunner f1a0fd20d6 improve date parsing for notmuch/maildir
If a message date would fail to parse, the worker would never receive
the MessageInfo it asked for, and so it wouldn't display the message.

The problem is the spec for date formats is too lax, so trying to ensure
we can parse every weird date format out there is not a strategy we want
to pursue. On the other hand, preventing the user from reading and
working with a message due to the error format is also not a solution.

The maildir and notmuch workers will now fallback to the internal date, which
is based on the received header if we can't parse the format of the Date header.

The UI will also fallback to the received header whenever the date header can't
be parsed.

This patch is based on the work done by Lyudmil Angelov <lyudmilangelov@gmail.com>
But tries to handle a parsing error a bit more gracefully instead of just returning
the zero date.
2020-08-10 08:00:52 +02:00
..
format improve date parsing for notmuch/maildir 2020-08-10 08:00:52 +02:00
sort Preserve sorting order in search results 2019-10-09 19:46:43 -04:00
templates Fix dates in reply/forward commands. 2020-06-26 09:25:53 +02:00
ui Implement style configuration. 2020-08-06 21:42:06 +02:00
uidstore Create UIDStore package 2019-07-12 11:09:47 -04:00
dirstore.go Move msgstore map to dirstore 2019-07-26 14:15:27 -04:00
history.go Add command history and cycling 2019-07-26 14:29:34 -04:00
keystore.go Initial support for PGP decryption & signatures 2020-03-03 16:49:52 -05:00
messageview.go Add additional flagging functionality 2020-07-08 09:13:03 +02:00
msgstore.go run go fmt 2020-07-17 17:50:24 +02:00
oauthbearer.go Support imaps with oauthbearer authentication (Gmail) 2019-07-11 19:36:14 -04:00
open.go Allow open to be asynchronous 2020-07-08 09:07:43 +02:00
open_darwin.go Allow open to be asynchronous 2020-07-08 09:07:43 +02:00
socket.go lib: fix an out of bounds panic in the server 2020-02-13 10:26:12 -05:00
structure_helpers.go Remove hard coded bodystruct path everywhere 2020-07-27 09:19:27 +02:00