Skip to content

Commit 491ee43

Browse files
yardenshohamlunny
andauthored
Fix due date being wrong on issue list (#23475) (#23479)
Backport #23475 Exactly like #22302 but in the issue list page Co-authored-by: Lunny Xiao <[email protected]>
1 parent 9107a87 commit 491ee43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)