aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-06-06 00:51:10 +0200
committerGitHub <noreply@github.com>2020-06-05 18:51:10 -0400
commitbbe13b60cdf93d8296f4c6dab624df2b571db234 (patch)
tree5a0423757a313943ef845d5d8c826ea3bc3e9736 /templates
parentcc9d2deb6029c44caf3157799d6f61593cecac4d (diff)
downloadgitea-bbe13b60cdf93d8296f4c6dab624df2b571db234.tar.gz
gitea-bbe13b60cdf93d8296f4c6dab624df2b571db234.zip
Fix timezone on issue deadline (#11697)
* Fix timezone on issue deadline * FormatDate Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content/sidebar.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/issue/view_content/sidebar.tmpl b/templates/repo/issue/view_content/sidebar.tmpl
index bcc69a48b8..ab1af02081 100644
--- a/templates/repo/issue/view_content/sidebar.tmpl
+++ b/templates/repo/issue/view_content/sidebar.tmpl
@@ -28,7 +28,7 @@
{{range $.PullReviewers}}
{{if eq .ReviewerID $ReviewerID }}
- {{$notReviewed = false }}
+ {{$notReviewed = false }}
{{if eq .Type 4 }}
{{$checked = true}}
{{if or (eq $ReviewerID $.SignedUserID) $.Permission.IsAdmin}}
@@ -357,7 +357,7 @@
{{if ne .Issue.DeadlineUnix 0}}
<p>
{{svg "octicon-calendar" 16}}
- {{.Issue.DeadlineUnix.FormatShort}}
+ {{.Issue.DeadlineUnix.FormatDate}}
{{if .Issue.IsOverdue}}
<span style="color: red;">{{.i18n.Tr "repo.issues.due_date_overdue"}}</span>
{{end}}