aerc/widgets
Robin Jarry 42b4302ba3 index: allow dynamic formatting of message dates
When a message has been sent today (or this year) allow formatting the
date differently.

For example, with:

 [ui]
 index-format=%-25.25n   %-25.25D   %s
 timestamp-format=2006 Jan 02, 15:04 GMT-0700
 this-day-time-format=Today at 15:04
 this-year-time-format=Jan 02

The message list would look like this (spaces collapsed):

 Robin Jarry        Today at 16:30             [PATCH 1/2] bindings: prepare for more modifers
 bugzilla@dpdk.org  Oct 26                     [dpdk-dev] [Bug 839] pdump: any subsequent runs of pdump_autotest fail
 Holger Levsen      2020 Mar 15, 13:44 GMT+01  +1 (Re: FTP Team -- call for volunteers)

Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-10-28 16:30:59 +02:00
..
account-wizard.go Get rid of the aerc.PushError(" " + $string) idiom 2021-01-30 14:04:23 +01:00
account.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
aerc.go bindings: prepare for more modifers 2021-10-28 16:21:37 +02:00
common.go widgets: add msgInfoFromUids helper 2019-12-21 09:27:47 -05:00
compose.go compose: apply default style to header separator 2021-01-14 06:36:09 +01:00
dirlist.go Apply dirlist style to unselected directories 2021-01-12 20:07:36 +01:00
exline.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
getpasswd.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
headerlayout.go Initial support for PGP decryption & signatures 2020-03-03 16:49:52 -05:00
msglist.go index: allow dynamic formatting of message dates 2021-10-28 16:30:59 +02:00
msgviewer.go filters: allow matching any email header 2021-10-28 16:22:33 +02:00
pgpinfo.go Implement style configuration. 2020-08-06 21:42:06 +02:00
providesmessage.go Change MarkedMessages to return uids 2020-05-11 09:47:34 -04:00
selector.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
spinner.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
status.go update tcell to v2 and enable TrueColor support 2020-12-18 07:23:22 +01:00
tabhost.go Implement style configuration. 2020-08-06 21:42:06 +02:00
terminal.go widgets/terminal: Only call vterm.ScreenCell.Attrs once in styleFromCell 2021-04-13 01:32:45 +02:00