From 20cf45bfeb2682b36827a4cc4050608535ce2ce9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Tue, 2 Jul 2024 17:28:38 +0400 Subject: [PATCH] Do not convert mindflow's post date to client's TZ twice. --- web/mindflow.templ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/mindflow.templ b/web/mindflow.templ index 35b328c..7574b2c 100644 --- a/web/mindflow.templ +++ b/web/mindflow.templ @@ -36,7 +36,8 @@ templ Mindflow(posts []mindflow.Post, categories []mindflow.Category, r *http.Re } else { } - + {{ ctz := util.ToClientTimezone(post.Date, r) }} + }