aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2025-02-08 22:13:05 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2025-02-08 22:14:52 +0100
commitdf980f995128e4a1d2180e711c191a5d39bf90fb (patch)
tree3f7468523cee7ceb21e4190b00bfc90f8431a3e0 /templates/gitlist.qtpl
parentaf516a40ecee17bc668ef225bbda16792e29244d (diff)
downloadcerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.tar.gz
cerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.tar.bz2
cerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.zip
ref: Use proper time formatting
Diffstat (limited to 'templates/gitlist.qtpl')
-rw-r--r--templates/gitlist.qtpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gitlist.qtpl b/templates/gitlist.qtpl
index bb07e7f..3cd133f 100644
--- a/templates/gitlist.qtpl
+++ b/templates/gitlist.qtpl
@@ -43,7 +43,7 @@ type GitListPage struct {
<div class="event-commit row">
<a class="col-xl-2" title="{%s r.LastCommit.Hash.String() %}" href="/{%s r.Name %}/commit/{%s r.LastCommit.Hash.String() %}/">{%s r.LastCommit.Hash.String()[0:8] %}</a>
<a class="col-xl-7"> {%s firstLine(r.LastCommit.Message) %}</a>
- <a class="col-xl-3" title="{%s r.LastCommit.Author.When.Format("2006-01-02 15:04:05 UTC")%}">{%s humanize.Time(r.LastCommit.Author.When) %}</a>
+ <a class="col-xl-3" title="{%s r.LastCommit.Author.When.UTC().Format("2006-01-02 15:04:05")%} UTC">{%s humanize.Time(r.LastCommit.Author.When) %}</a>
</div>
<p>
<a href="/{%s r.Name %}/log/{%s r.Ref %}/">log</a>