From 2727f156715b9b194a2123c5b026087752a3c61d Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Tue, 1 Aug 2023 11:07:24 +0000 Subject: [PATCH] Fix due date rendering the wrong date in issue We have to pass the date without the time. 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 c89df8626a2a..15845665bb20 100644 --- a/templates/repo/issue/view_content/sidebar.tmpl +++ b/templates/repo/issue/view_content/sidebar.tmpl @@ -374,7 +374,7 @@
{{svg "octicon-calendar" 16 "gt-mr-3"}} - {{DateTime "long" .Issue.DeadlineUnix}} + {{DateTime "long" .Issue.DeadlineUnix.FormatDate}}
{{if and .HasIssuesOrPullsWritePermission (not .Repository.IsArchived)}}