aboutsummaryrefslogtreecommitdiffstats
path: root/templates/shared
diff options
context:
space:
mode:
authorYarden Shoham <git@yardenshoham.com>2023-12-22 18:53:12 +0200
committerGitHub <noreply@github.com>2023-12-22 10:53:12 -0600
commitd9ed931c4d7ad3649a84913daf81ec252bbbaba1 (patch)
treed6cecf9d9ddd2db7321475443bfc5732476cfe9b /templates/shared
parent907c97aabbe6fdfa5669ef2b2978f2d217cf0210 (diff)
downloadgitea-d9ed931c4d7ad3649a84913daf81ec252bbbaba1.tar.gz
gitea-d9ed931c4d7ad3649a84913daf81ec252bbbaba1.zip
Fix wrong due date rendering in issue list page (#28588)
It included the hours, minutes, and seconds. By removing these, the date renders correctly. Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Diffstat (limited to 'templates/shared')
-rw-r--r--templates/shared/issuelist.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl
index 7fd1f4e0f8..4fea93be3c 100644
--- a/templates/shared/issuelist.tmpl
+++ b/templates/shared/issuelist.tmpl
@@ -114,7 +114,7 @@
<span class="due-date flex-text-inline" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date"}}">
<span{{if .IsOverdue}} class="text red"{{end}}>
{{svg "octicon-calendar" 14}}
- {{DateTime "short" .DeadlineUnix}}
+ {{DateTime "short" (.DeadlineUnix.Format "2006-01-02")}}
</span>
</span>
{{end}}