From b8407569f0a3807ab6bee31c6b0c5f07455f7cb9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 17 Dec 2019 11:33:29 +0100 Subject: [PATCH] themes/sourcehut: use formatdate template func --- themes/sourcehut/mailbox.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/sourcehut/mailbox.html b/themes/sourcehut/mailbox.html index cefe1d8..01584b2 100644 --- a/themes/sourcehut/mailbox.html +++ b/themes/sourcehut/mailbox.html @@ -49,7 +49,7 @@ href="/message/{{$.Mailbox.Name | pathescape}}/{{.Uid}}?part={{.TextPartName}}" > - {{ .Envelope.Date.Format "Mon Jan 02 15:04" }} + {{ .Envelope.Date | formatdate }} {{ range .Envelope.From }} @@ -75,7 +75,7 @@ {{end}}

{{else}} -

Mailbox is empty.

+

No message.

{{end}}