ソースを参照

Fix wrong due date rendering in issue list page (#28588) (#28591)

Backport #28588 by @yardenshoham

It included the hours, minutes, and seconds. By removing these, the date
renders correctly.

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
tags/v1.21.4
Giteabot 5ヶ月前
コミット
564068aa99
コミッターのメールアドレスに関連付けられたアカウントが存在しません
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      templates/shared/issuelist.tmpl

+ 1
- 1
templates/shared/issuelist.tmpl ファイルの表示

@@ -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}}

読み込み中…
キャンセル
保存