author: {{ .commit.Author.Name }} <{{ .commit.Author.Email}}> on {{ .commit.Author.When }}
+author: {{ .commit.Author.Name }} <{{ .commit.Author.Email}}> on {{ .commit.Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}
commit: {{ .commit.This }} @@ -41,6 +41,9 @@ {{- if eq .Op.String "-" -}} {{ .String }} {{- end -}} + {{- if eq .Op.String " " -}} + {{ .String }} + {{- end -}} {{- end -}} {{- end -}} diff --git a/templates/log.html b/templates/log.html index 357a5a8..de7b200 100644 --- a/templates/log.html +++ b/templates/log.html @@ -12,7 +12,8 @@ {{ $repo := .name }} {{ range .commits }}
{{ slice .Hash.String 0 8 }} - — {{ .Author.Name }}
+ — {{ .Author.Name }} + {{ .Author.When.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}