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}}"
|
href="/message/{{$.Mailbox.Name | pathescape}}/{{.Uid}}?part={{.TextPartName}}"
|
||||||
>
|
>
|
||||||
<span class="text-muted date">
|
<span class="text-muted date">
|
||||||
{{ .Envelope.Date.Format "Mon Jan 02 15:04" }}
|
{{ .Envelope.Date | formatdate }}
|
||||||
</span>
|
</span>
|
||||||
<span class="text-normal from">
|
<span class="text-normal from">
|
||||||
{{ range .Envelope.From }}
|
{{ range .Envelope.From }}
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
</p>
|
</p>
|
||||||
{{else}}
|
{{else}}
|
||||||
<p>Mailbox is empty.</p>
|
<p>No message.</p>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue