show absolute time when hovering over a relative time
2 files changed, 2 insertions(+), 0 deletions(-)
M templates/commit.go → templates/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.go → templates/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)), ), ),