summaryrefslogtreecommitdiffstats
path: root/templates/repo/view_list.tmpl
diff options
context:
space:
mode:
authorGusted <williamzijl7@hotmail.com>2022-01-25 05:48:56 +0000
committerGitHub <noreply@github.com>2022-01-25 05:48:56 +0000
commit0b83cc21be4b53de401e9c3ffca74ae3f003e55e (patch)
tree1695ceb71bb24e256c2a8993e419f96ad5ebf677 /templates/repo/view_list.tmpl
parentb68e605d56ef472de597e9a7c6df406ce97028c0 (diff)
downloadgitea-0b83cc21be4b53de401e9c3ffca74ae3f003e55e.tar.gz
gitea-0b83cc21be4b53de401e9c3ffca74ae3f003e55e.zip
Fix commit's time (#18375) (#18392)
- Backport of #18375
Diffstat (limited to 'templates/repo/view_list.tmpl')
-rw-r--r--templates/repo/view_list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index d490220694..7c76d87875 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -34,7 +34,7 @@
</span>
{{end}}
</th>
- <th class="text grey right age">{{if .LatestCommit}}{{if .LatestCommit.Author}}{{TimeSince .LatestCommit.Author.When $.Lang}}{{end}}{{end}}</th>
+ <th class="text grey right age">{{if .LatestCommit}}{{if .LatestCommit.Committer}}{{TimeSince .LatestCommit.Committer.When $.Lang}}{{end}}{{end}}</th>
</tr>
</thead>
<tbody>