aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-17 11:33:29 +0100
committerSimon Ser <contact@emersion.fr>2019-12-17 11:33:29 +0100
commitb8407569f0a3807ab6bee31c6b0c5f07455f7cb9 (patch)
tree59bd8876c2c601d9fbd459bcd27125ea0b41c161 /themes
parent9404be1a329fce746ac8c7376c889350da574ea8 (diff)
downloadalps-b8407569f0a3807ab6bee31c6b0c5f07455f7cb9.tar.gz
alps-b8407569f0a3807ab6bee31c6b0c5f07455f7cb9.zip
themes/sourcehut: use formatdate template func
Diffstat (limited to 'themes')
-rw-r--r--themes/sourcehut/mailbox.html4
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>