aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorYarden Shoham <hrsi88@gmail.com>2023-03-14 22:55:49 +0200
committerGitHub <noreply@github.com>2023-03-14 15:55:49 -0500
commitb2c1c17f38935a099d9153e2e53b494aafa5d8ea (patch)
tree57af5cbc5537c6375d885ba8b88035eeb83edcec /templates
parent32204fcf8bf780143f93165281b899c58a5a3f9c (diff)
downloadgitea-b2c1c17f38935a099d9153e2e53b494aafa5d8ea.tar.gz
gitea-b2c1c17f38935a099d9153e2e53b494aafa5d8ea.zip
Fix due date being wrong on issue list (#23475)
Exactly like #22302 but in the issue list page
Diffstat (limited to 'templates')
-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 16bb3c1ec7..ae9cb55d44 100644
--- a/templates/shared/issuelist.tmpl
+++ b/templates/shared/issuelist.tmpl
@@ -108,7 +108,7 @@
<span class="due-date tooltip" data-content="{{$.locale.Tr "repo.issues.due_date"}}" data-position="right center">
<span{{if .IsOverdue}} class="overdue"{{end}}>
{{svg "octicon-calendar" 14 "gt-mr-2"}}
- <time data-format="short-date" datetime="{{.DeadlineUnix.FormatLong}}">{{.DeadlineUnix.FormatShort}}</time>
+ <time data-format="short-date" datetime="{{.DeadlineUnix.FormatDate}}">{{.DeadlineUnix.FormatShort}}</time>
</span>
</span>
{{end}}