diff options
author | tdro <tdro@noreply.example.com> | 2023-10-07 20:19:06 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2023-10-07 20:19:06 -0400 |
commit | c83c49b0e18f0593a62a8a7754d1ff49ac097289 (patch) | |
tree | ecf67e580ce99de31816573afd88fdff5e57bfcb /themes/default/layouts/_default/taxonomy.html | |
parent | 6f2f44c7ff0e3ff8ffd4e6bb394a0b39c0f89adf (diff) | |
download | canory-c83c49b0e18f0593a62a8a7754d1ff49ac097289.tar.gz canory-c83c49b0e18f0593a62a8a7754d1ff49ac097289.tar.bz2 canory-c83c49b0e18f0593a62a8a7754d1ff49ac097289.zip |
themes/default: Make time and dates consistent
Don't mix local time with UTC and fix future date calculation
Diffstat (limited to 'themes/default/layouts/_default/taxonomy.html')
-rw-r--r-- | themes/default/layouts/_default/taxonomy.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/taxonomy.html b/themes/default/layouts/_default/taxonomy.html index 9ec1cb7..6a8325b 100644 --- a/themes/default/layouts/_default/taxonomy.html +++ b/themes/default/layouts/_default/taxonomy.html @@ -47,7 +47,7 @@ datetime="{{ .Date | time.Format "2006-01-02T15:04:05Z" }}" title="{{ .Date | time.Format "Posted: Monday, January 2, 2006 at 15:04:05 MST" }}" > - {{ .Date.Format "02 Jan 2006" }} + {{ .Date | time.Format "02 Jan 2006" }} </time> <p> <a data-hover href="{{ print ("" | absURL) "/tags/" $title "/#" (partial "card-id.html" .) }}"> |