summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-03-14 21:40:43 -0400
committerGitHub <noreply@github.com>2023-03-15 09:40:43 +0800
commit28af02eea013135f29ca3b917b50dfa54afe3bdf (patch)
treeebcc45a682d0884da43b8ace3bb5245abecb0666 /templates
parentc698a6fc5db489fa60784c6d498e810975056229 (diff)
downloadgitea-28af02eea013135f29ca3b917b50dfa54afe3bdf.tar.gz
gitea-28af02eea013135f29ca3b917b50dfa54afe3bdf.zip
Fix due date being wrong on issue list (#23475) (#23477)
Backport #23475 by @yardenshoham Exactly like #22302 but in the issue list page Co-authored-by: Yarden Shoham <hrsi88@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
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}}