Skip to content

Commit d9ed931

Browse files
authored
Fix wrong due date rendering in issue list page (#28588)
It included the hours, minutes, and seconds. By removing these, the date renders correctly. Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 parent 907c97a commit d9ed931

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
@@ -114,7 +114,7 @@
114114
<span class="due-date flex-text-inline" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date"}}">
115115
<span{{if .IsOverdue}} class="text red"{{end}}>
116116
{{svg "octicon-calendar" 14}}
117-
{{DateTime "short" .DeadlineUnix}}
117+
{{DateTime "short" (.DeadlineUnix.Format "2006-01-02")}}
118118
</span>
119119
</span>
120120
{{end}}

0 commit comments

Comments
 (0)