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
|
|
@ -30,6 +30,7 @@ type UIConfig struct {
|
|||
IndexFormat string `ini:"index-format"`
|
||||
TimestampFormat string `ini:"timestamp-format"`
|
||||
ThisDayTimeFormat string `ini:"this-day-time-format"`
|
||||
ThisWeekTimeFormat string `ini:"this-week-time-format"`
|
||||
ThisYearTimeFormat string `ini:"this-year-time-format"`
|
||||
ShowHeaders []string `delim:","`
|
||||
RenderAccountTabs string `ini:"render-account-tabs"`
|
||||
|
|
@ -496,6 +497,7 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
|
|||
IndexFormat: "%D %-17.17n %s",
|
||||
TimestampFormat: "2006-01-02 03:04 PM",
|
||||
ThisDayTimeFormat: "",
|
||||
ThisWeekTimeFormat: "",
|
||||
ThisYearTimeFormat: "",
|
||||
ShowHeaders: []string{
|
||||
"From", "To", "Cc", "Bcc", "Subject", "Date",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue