Fixed published date formatting (#85)

This commit is contained in:
Tyler Baker 2023-09-15 20:45:44 +00:00 committed by GitHub
parent 54bc355017
commit 352360218b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,7 @@
{{ if and .PostID .Posts }}
<div class="stats">
this post was submitted on {{ (index .Posts 0).Post.Published.Time.Format "01 Jan 2006" }}
this post was submitted on {{ (index .Posts 0).Post.Published.Time.Format "02 Jan 2006" }}
<div><b><span>{{ (index .Posts 0).Counts.Score }}</span> points</b> ({{likedPerc (index .Posts 0).Counts}}% liked)</div>
</div>
{{ end }}