Skip to content

Commit 1b34d20

Browse files
committed
Fix due date being wrong on issue list (go-gitea#23475)
Backport go-gitea#23475 Exactly like go-gitea#22302 but in the issue list page
1 parent 3dc2724 commit 1b34d20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/issuelist.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
<span class="due-date tooltip" data-content="{{$.locale.Tr "repo.issues.due_date"}}" data-position="right center">
110110
<span{{if .IsOverdue}} class="overdue"{{end}}>
111111
{{svg "octicon-calendar" 14 "mr-2"}}
112-
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatLong}}">{{.DeadlineUnix.FormatShort}}</time>
112+
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatDate}}">{{.DeadlineUnix.FormatShort}}</time>
113113
</span>
114114
</span>
115115
{{end}}

0 commit comments

Comments
 (0)