Skip to content

Commit 28af02e

Browse files
GiteaBotyardenshohamlunny
authored
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 <[email protected]> Co-authored-by: Lunny Xiao <[email protected]>
1 parent c698a6f commit 28af02e

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)