From 87ab9306b493d275ec289cc494ae07e4aa6c64d1 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Sun, 1 Jan 2023 16:42:19 +0000 Subject: [PATCH] Fix due date rendering the wrong date in issue (#22302) Backport #22302 Previously, the last minute of the chosen date caused bad timezone rendering. For example, I chose January 4th, 2023. ### Before ```html ``` ### After ```html ``` --- Closes #21999 Signed-off-by: Yarden Shoham --- templates/repo/issue/view_content/sidebar.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl index af648387db58..41c7e022c43b 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -413,7 +413,7 @@
{{svg "octicon-calendar" 16 "mr-3"}} - +
{{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}