From 72d1f9e63e3de5a3f7a6f1bb498c33956ccd3da8 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Mon, 2 Jan 2023 14:42:39 +0200 Subject: [PATCH] Fix due date rendering the wrong date in issue (#22302) (#22306) 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 af648387db5..41c7e022c43 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)}}