Skip to content

Commit 0a8c1eb

Browse files
yardenshohamGiteaBot
authored andcommitted
Fix due date being wrong on issue list (go-gitea#23475)
Exactly like go-gitea#22302 but in the issue list page
1 parent e5a51ec commit 0a8c1eb

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
@@ -108,7 +108,7 @@
108108
<span class="due-date tooltip" data-content="{{$.locale.Tr "repo.issues.due_date"}}" data-position="right center">
109109
<span{{if .IsOverdue}} class="overdue"{{end}}>
110110
{{svg "octicon-calendar" 14 "gt-mr-2"}}
111-
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatLong}}">{{.DeadlineUnix.FormatShort}}</time>
111+
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatDate}}">{{.DeadlineUnix.FormatShort}}</time>
112112
</span>
113113
</span>
114114
{{end}}

0 commit comments

Comments
 (0)