Skip to content

Commit d46cbf3

Browse files
committed
Fix wrong due date rendering in issue list page
It included the hours, minutes, and seconds. By removing these, the date renders correctly. Signed-off-by: Yarden Shoham <[email protected]>
1 parent 19869d1 commit d46cbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/shared/issuelist.tmpl

Lines changed: 1 addition & 1 deletion
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)