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
Backport go-gitea#23475

Exactly like go-gitea#22302 but in the issue list page
  • Loading branch information
yardenshoham committed Mar 14, 2023
1 parent 3dc2724 commit 1b34d20
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 @@ -109,7 +109,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 "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 1b34d20

Please sign in to comment.