aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.go
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-09-04 21:18:21 +0200
committerRobin Jarry <robin@jarry.cc>2022-09-08 19:52:04 +0200
commitaae29324fdf558c8ee878ddefdd278758b67f479 (patch)
tree0cfdd560ec0589499a3f3d4895ed633f18c6140e /config/config.go
parentaa52b295b2ca38e369ffaa2cc4447a270231ecb3 (diff)
downloadaerc-aae29324fdf558c8ee878ddefdd278758b67f479.tar.gz
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>
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/config.go b/config/config.go
index f69dd399..ead54561 100644
--- a/config/config.go
+++ b/config/config.go
@@ -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",
},