diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/aerc.conf.in | 8 | ||||
-rw-r--r-- | config/config.go | 4 |
2 files changed, 6 insertions, 6 deletions
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", }, |