diff --git a/appview/pages/templates/repo/branches.html b/appview/pages/templates/repo/branches.html
index f21d27f0..72a48f20 100644
--- a/appview/pages/templates/repo/branches.html
+++ b/appview/pages/templates/repo/branches.html
@@ -59,7 +59,7 @@
{{ if .Commit }}
-
+
{{ end }}
{{ if .IsDefault }}
diff --git a/appview/pages/templates/repo/log.html b/appview/pages/templates/repo/log.html
index a5167337..c0829da7 100644
--- a/appview/pages/templates/repo/log.html
+++ b/appview/pages/templates/repo/log.html
@@ -71,7 +71,7 @@
{{ nl2br (index $messageParts 1) }}
{{ end }}
-
{{ timeFmt $commit.Author.When }} |
+
{{ timeFmt $commit.Committer.When }} |
{{ end }}
@@ -141,7 +141,7 @@
-
{{ shortTimeFmt $commit.Author.When }}
+
{{ shortTimeFmt $commit.Committer.When }}
{{ end }}
diff --git a/appview/state/repo.go b/appview/state/repo.go
index 3454e1d2..f2a78ddf 100644
--- a/appview/state/repo.go
+++ b/appview/state/repo.go
@@ -99,7 +99,7 @@ func (s *State) RepoIndex(w http.ResponseWriter, r *http.Request) {
return 1
}
if a.Commit != nil {
- if a.Commit.Author.When.Before(b.Commit.Author.When) {
+ if a.Commit.Committer.When.Before(b.Commit.Committer.When) {
return 1
} else {
return -1
@@ -597,7 +597,7 @@ func (s *State) RepoBranches(w http.ResponseWriter, r *http.Request) {
return 1
}
if a.Commit != nil {
- if a.Commit.Author.When.Before(b.Commit.Author.When) {
+ if a.Commit.Committer.When.Before(b.Commit.Committer.When) {
return 1
} else {
return -1