aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/commit.qtpl2
-rw-r--r--templates/commit.qtpl.go4
-rw-r--r--templates/gitlist.qtpl2
-rw-r--r--templates/gitlist.qtpl.go4
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 @@
</div>
{% endif %}
<div class="col-md text-md-end">
- <a title="{%s c.Author.When.Format("2006-01-02 15:04:05 UTC")%}">{%s humanize.Time(c.Author.When) %}</a>
+ <a title="{%s c.Author.When.UTC().Format("2006-01-02 15:04:05")%} UTC">{%s humanize.Time(c.Author.When) %}</a>
</div>
</div>
<div class="code-view">
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
<div class="col-md text-md-end">
<a title="`)
//line templates/commit.qtpl:17
- qw422016.E().S(c.Author.When.Format("2006-01-02 15:04:05 UTC"))
+ qw422016.E().S(c.Author.When.UTC().Format("2006-01-02 15:04:05"))
//line templates/commit.qtpl:17
- qw422016.N().S(`">`)
+ qw422016.N().S(` UTC">`)
//line templates/commit.qtpl:17
qw422016.E().S(humanize.Time(c.Author.When))
//line templates/commit.qtpl:17
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>
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