aboutsummaryrefslogtreecommitdiff
path: root/templates/gitlist.qtpl.go
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.go
parentaf516a40ecee17bc668ef225bbda16792e29244d (diff)
downloadcerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.tar.gz
cerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.tar.bz2
cerrado-df980f995128e4a1d2180e711c191a5d39bf90fb.zip
ref: Use proper time formatting
Diffstat (limited to 'templates/gitlist.qtpl.go')
-rw-r--r--templates/gitlist.qtpl.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gitlist.qtpl.go b/templates/gitlist.qtpl.go
index 6fb168a..1c0fdac 100644
--- a/templates/gitlist.qtpl.go
+++ b/templates/gitlist.qtpl.go
@@ -178,9 +178,9 @@ func (p *GitListPage) StreamContent(qw422016 *qt422016.Writer, ctx context.Conte
qw422016.N().S(`</a>
<a class="col-xl-3" title="`)
//line templates/gitlist.qtpl:46
- qw422016.E().S(r.LastCommit.Author.When.Format("2006-01-02 15:04:05 UTC"))
+ qw422016.E().S(r.LastCommit.Author.When.UTC().Format("2006-01-02 15:04:05"))
//line templates/gitlist.qtpl:46
- qw422016.N().S(`">`)
+ qw422016.N().S(` UTC">`)
//line templates/gitlist.qtpl:46
qw422016.E().S(humanize.Time(r.LastCommit.Author.When))
//line templates/gitlist.qtpl:46