From 564068aa99be42d18e10247deb458d21b13f1a19 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Sat, 23 Dec 2023 01:25:43 +0800 Subject: [PATCH] Fix wrong due date rendering in issue list page (#28588) (#28591) Backport #28588 by @yardenshoham It included the hours, minutes, and seconds. By removing these, the date renders correctly. Signed-off-by: Yarden Shoham Co-authored-by: Yarden Shoham --- templates/shared/issuelist.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl index 5b3f2d9970eb5..00bd7a8c1f765 100644 --- a/templates/shared/issuelist.tmpl +++ b/templates/shared/issuelist.tmpl @@ -114,7 +114,7 @@ {{svg "octicon-calendar" 14}} - {{DateTime "short" .DeadlineUnix}} + {{DateTime "short" (.DeadlineUnix.Format "2006-01-02")}} {{end}}