Skip to content

Commit

Permalink
Fix wrong due date rendering in issue list page (go-gitea#28588)
Browse files Browse the repository at this point in the history
It included the hours, minutes, and seconds. By removing these, the date
renders correctly.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
  • Loading branch information
yardenshoham authored and GiteaBot committed Dec 22, 2023
1 parent 6a559ad commit 7c5bf6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/shared/issuelist.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<span class="due-date flex-text-inline" data-tooltip-content="{{ctx.Locale.Tr "repo.issues.due_date"}}">
<span{{if .IsOverdue}} class="text red"{{end}}>
{{svg "octicon-calendar" 14}}
{{DateTime "short" .DeadlineUnix}}
{{DateTime "short" (.DeadlineUnix.Format "2006-01-02")}}
</span>
</span>
{{end}}
Expand Down

0 comments on commit 7c5bf6f

Please sign in to comment.