diff options
author | Robin Jarry <robin@jarry.cc> | 2021-11-06 17:32:38 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2021-11-06 17:34:20 +0100 |
commit | 84146e23b384e42c63287e3519e70b0a6ea3100f (patch) | |
tree | 4b7994c45404e0dfcf85c5c9dfc1284fcc0eb6e0 /config/triggers.go | |
parent | 02e7d8aca88d433062e00fa2988e533944a563f4 (diff) | |
download | aerc-84146e23b384e42c63287e3519e70b0a6ea3100f.tar.gz |
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>
Diffstat (limited to 'config/triggers.go')
-rw-r--r-- | config/triggers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/triggers.go b/config/triggers.go index f00f638..3005d59 100644 --- a/config/triggers.go +++ b/config/triggers.go @@ -39,6 +39,7 @@ func (trig *TriggersConfig) ExecNewEmail(account *AccountConfig, formatstr, args, err := format.ParseMessageFormat( part, conf.Ui.TimestampFormat, conf.Ui.ThisDayTimeFormat, + conf.Ui.ThisWeekTimeFormat, conf.Ui.ThisYearTimeFormat, format.Ctx{ FromAddress: account.From, |