index: add this-week-time-format

Also allow specific time format for messages received within the last
7 days.

Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
Robin Jarry 2021-11-06 17:32:38 +01:00
parent 02e7d8aca8
commit 84146e23b3
6 changed files with 36 additions and 8 deletions

View file

@ -93,6 +93,13 @@ These options are configured in the *[ui]* section of aerc.conf.
Default: ""
*this-week-time-format*
Index-only time format for messages that were received/sent within the
last 7 days. If this is not specified, *timestamp-format* is used
instead.
Default: ""
*this-year-time-format*
Index-only time format for messages that were received/sent this year.
If this is not specified, *timestamp-format* is used instead.