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:
parent
02e7d8aca8
commit
84146e23b3
6 changed files with 36 additions and 8 deletions
config
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue