From 352360218b40600ff3c27941f30c12fd55cf5d02 Mon Sep 17 00:00:00 2001 From: Tyler Baker <43011371+bakerty@users.noreply.github.com> Date: Fri, 15 Sep 2023 20:45:44 +0000 Subject: [PATCH] Fixed published date formatting (#85) --- templates/sidebar.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sidebar.html b/templates/sidebar.html index f06e050..5ff1ffd 100644 --- a/templates/sidebar.html +++ b/templates/sidebar.html @@ -49,7 +49,7 @@ {{ if and .PostID .Posts }}
- 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" }}
{{ (index .Posts 0).Counts.Score }} points ({{likedPerc (index .Posts 0).Counts}}% liked)
{{ end }}