diff options
author | Simon Ser <contact@emersion.fr> | 2019-12-17 11:33:29 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-12-17 11:33:29 +0100 |
commit | b8407569f0a3807ab6bee31c6b0c5f07455f7cb9 (patch) | |
tree | 59bd8876c2c601d9fbd459bcd27125ea0b41c161 /themes/sourcehut | |
parent | 9404be1a329fce746ac8c7376c889350da574ea8 (diff) | |
download | alps-b8407569f0a3807ab6bee31c6b0c5f07455f7cb9.tar.gz alps-b8407569f0a3807ab6bee31c6b0c5f07455f7cb9.zip |
themes/sourcehut: use formatdate template func
Diffstat (limited to 'themes/sourcehut')
-rw-r--r-- | themes/sourcehut/mailbox.html | 4 |
1 files 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}}" > <span class="text-muted date"> - {{ .Envelope.Date.Format "Mon Jan 02 15:04" }} + {{ .Envelope.Date | formatdate }} </span> <span class="text-normal from"> {{ range .Envelope.From }} @@ -75,7 +75,7 @@ {{end}} </p> {{else}} - <p>Mailbox is empty.</p> + <p>No message.</p> {{end}} </div> </div> |