all repos — elgit @ c5c01faa1965a3f0bbbaf0ae03f244385b350cd4

fork of legit: web frontend for git, written in go

show absolute time when hovering over a relative time

Alan Pearce
commit

c5c01faa1965a3f0bbbaf0ae03f244385b350cd4

parent

06ee92e3d0cefe07a83bf4e93bb73bf5ae7bc108

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M templates/commit.gotemplates/commit.go
@@ -120,6 +120,7 @@ ),
Div( Time( DateTime(author.When.Format(time.RFC3339)), + TitleAttr(author.When.Format(time.RFC3339)), g.Text(humanize.Time(author.When)), ), ),
M templates/index.gotemplates/index.go
@@ -51,6 +51,7 @@ Div(Class("desc"), g.Text(repo.Description)),
Div( Time( DateTime(repo.LastCommit.Format(time.RFC3339)), + TitleAttr(repo.LastCommit.Format(time.RFC3339)), g.Text(humanize.Time(repo.LastCommit)), ), ),