From df980f995128e4a1d2180e711c191a5d39bf90fb Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 8 Feb 2025 22:13:05 +0100 Subject: ref: Use proper time formatting --- templates/commit.qtpl | 2 +- templates/commit.qtpl.go | 4 ++-- templates/gitlist.qtpl | 2 +- templates/gitlist.qtpl.go | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/commit.qtpl b/templates/commit.qtpl index ea2f144..b5699f4 100644 --- a/templates/commit.qtpl +++ b/templates/commit.qtpl @@ -14,7 +14,7 @@ {% endif %}
- {%s humanize.Time(c.Author.When) %} + {%s humanize.Time(c.Author.When) %}
diff --git a/templates/commit.qtpl.go b/templates/commit.qtpl.go index eeaa1f0..75ae899 100644 --- a/templates/commit.qtpl.go +++ b/templates/commit.qtpl.go @@ -89,9 +89,9 @@ func StreamCommit(qw422016 *qt422016.Writer, name string, c *object.Commit, show