config: fix default time format values

Adjust default values in config.go to follow what is set in the default
aerc.conf file.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Tim Culverhouse <tim@timculverhouse.com>
This commit is contained in:
Robin Jarry 2022-09-04 21:18:21 +02:00
parent aa52b295b2
commit aae29324fd
2 changed files with 5 additions and 5 deletions

View File

@ -22,7 +22,7 @@ unsafe-accounts-conf=false
# Describes the format for each row in a mailbox view. This field is compatible
# with mutt's printf-like syntax.
#
# Default: %D %-17.17n %Z %s
# Default: %-20.20D %-17.17n %Z %s
index-format=%-20.20D %-17.17n %Z %s
#

View File

@ -723,11 +723,11 @@ func LoadConfigFromFile(root *string, accts []string) (*AercConfig, error) {
},
Ui: UIConfig{
IndexFormat: "%D %-17.17n %s",
IndexFormat: "%-20.20D %-17.17n %Z %s",
TimestampFormat: "2006-01-02 03:04 PM",
ThisDayTimeFormat: "",
ThisWeekTimeFormat: "",
ThisYearTimeFormat: "",
ThisDayTimeFormat: "03:04 PM",
ThisWeekTimeFormat: "Monday 03:04 PM",
ThisYearTimeFormat: "January 02",
ShowHeaders: []string{
"From", "To", "Cc", "Bcc", "Subject", "Date",
},