Skip to content

Commit

Permalink
Fix due date being wrong on issue list (go-gitea#23475)
Browse files Browse the repository at this point in the history
Exactly like go-gitea#22302 but in the issue list page
  • Loading branch information
yardenshoham authored and GiteaBot committed Mar 14, 2023
1 parent e5a51ec commit 0a8c1eb
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 @@ -108,7 +108,7 @@
<span class="due-date tooltip" data-content="{{$.locale.Tr "repo.issues.due_date"}}" data-position="right center">
<span{{if .IsOverdue}} class="overdue"{{end}}>
{{svg "octicon-calendar" 14 "gt-mr-2"}}
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatLong}}">{{.DeadlineUnix.FormatShort}}</time>
<time data-format="short-date" datetime="{{.DeadlineUnix.FormatDate}}">{{.DeadlineUnix.FormatShort}}</time>
</span>
</span>
{{end}}
Expand Down

0 comments on commit 0a8c1eb

Please sign in to comment.