From fca7321639f77bbf825dc897156d7a21993a2c69 Mon Sep 17 00:00:00 2001 From: Yash Srivastav Date: Sat, 8 Jun 2019 01:05:23 +0530 Subject: Message list: implement index-format option --- config/aerc.conf.in | 8 ++++---- config/config.go | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/aerc.conf.in b/config/aerc.conf.in index 1a4a826..de1c3ec 100644 --- a/config/aerc.conf.in +++ b/config/aerc.conf.in @@ -7,13 +7,13 @@ # with mutt's printf-like syntax. TODO: document properly # # Default: -index-format=%4C %Z %D %-17.17n %s +index-format=%D %-17.17n %s # -# See strftime(3) +# See time.Time#Format at https://godoc.org/time#Time.Format # -# Default: %F %l:%M %p (ISO 8501 + 12 hour time) -timestamp-format=%F %l:%M %p +# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time) +timestamp-format=2006-01-02 03:04 PM # # Width of the sidebar, including the border. diff --git a/config/config.go b/config/config.go index 3b7edbb..3ef587b 100644 --- a/config/config.go +++ b/config/config.go @@ -246,8 +246,8 @@ func LoadConfig(root *string, sharedir string) (*AercConfig, error) { Ini: file, Ui: UIConfig{ - IndexFormat: "%4C %Z %D %-17.17n %s", - TimestampFormat: "%F %l:%M %p", + IndexFormat: "%D %-17.17n %s", + TimestampFormat: "2006-01-02 03:04 PM", ShowHeaders: []string{ "From", "To", "Cc", "Bcc", "Subject", "Date", }, -- cgit v1.2.3