themes/sourcehut: use formatdate template func
This commit is contained in:
parent
9404be1a32
commit
b8407569f0
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue