aboutsummaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorMax Magorsch <arzano@gentoo.org>2020-08-26 22:31:19 +0200
committerMax Magorsch <arzano@gentoo.org>2020-08-26 22:31:19 +0200
commit374ad2b243d1050218ba0e1382ab5c9440a34e14 (patch)
tree36432ebbdbf783634aeccd4e86b4334d8c987857 /web
parentFix the repology check (diff)
downloadsoko-374ad2b243d1050218ba0e1382ab5c9440a34e14.tar.gz
soko-374ad2b243d1050218ba0e1382ab5c9440a34e14.tar.bz2
soko-374ad2b243d1050218ba0e1382ab5c9440a34e14.zip
Fix the date of the first commit in the changelog
Thanks to ConiKost for the hint Signed-off-by: Max Magorsch <arzano@gentoo.org>
Diffstat (limited to 'web')
-rw-r--r--web/templates/packages/changelog/changelog.tmpl2
-rw-r--r--web/templates/packages/components/changelog.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/templates/packages/changelog/changelog.tmpl b/web/templates/packages/changelog/changelog.tmpl
index 1091875..ff83022 100644
--- a/web/templates/packages/changelog/changelog.tmpl
+++ b/web/templates/packages/changelog/changelog.tmpl
@@ -8,7 +8,7 @@
<h3>Latest Commits</h3>
<ul class="timeline">
<li>
- <span class="text-muted">Commits on Jul 2, 2020</span>
+ <span class="text-muted">Commits on {{(index .Commits 0).CommitterDate.Format "Jan 02, 2006"}}</span>
<ul class="list-group">
{{$last_date := (index .Commits 0).CommitterDate}}
{{range .Commits}}
diff --git a/web/templates/packages/components/changelog.tmpl b/web/templates/packages/components/changelog.tmpl
index 17deeb6..b769f00 100644
--- a/web/templates/packages/components/changelog.tmpl
+++ b/web/templates/packages/components/changelog.tmpl
@@ -7,7 +7,7 @@
<h3>Latest Commits</h3>
<ul class="timeline">
<li>
- <span class="text-muted">Commits on Jul 2, 2020</span>
+ <span class="text-muted">Commits on {{(index .Commits 0).CommitterDate.Format "Jan 02, 2006"}}</span>
<ul class="list-group">
{{$last_date := (index .Package.Commits 0).CommitterDate}}
{{range .Package.Commits}}