diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl
index 7bc37175c..e8ac4020f 100644
--- a/templates/repo/commits_list.tmpl
+++ b/templates/repo/commits_list.tmpl
@@ -75,7 +75,11 @@
{{RenderCommitBody $.Context .Message $commitRepoLink $.Repository.ComposeMetas}}
{{end}}
- {{TimeSince .Author.When $.Lang}} |
+ {{if .Committer}}
+ {{TimeSince .Committer.When $.Lang}} |
+ {{else}}
+ {{TimeSince .Author.When $.Lang}} |
+ {{end}}
{{end}}
diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl
index 870bbb92e..b12309677 100644
--- a/templates/repo/view_list.tmpl
+++ b/templates/repo/view_list.tmpl
@@ -34,7 +34,7 @@
{{end}}
- {{if .LatestCommit}}{{if .LatestCommit.Author}}{{TimeSince .LatestCommit.Author.When $.Lang}}{{end}}{{end}} |
+ {{if .LatestCommit}}{{if .LatestCommit.Committer}}{{TimeSince .LatestCommit.Committer.When $.Lang}}{{end}}{{end}} |