summaryrefslogtreecommitdiffstats
path: root/templates/package/view.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package/view.tmpl')
-rw-r--r--templates/package/view.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/view.tmpl b/templates/package/view.tmpl
index 0116da53b3..95d668a3fd 100644
--- a/templates/package/view.tmpl
+++ b/templates/package/view.tmpl
@@ -39,7 +39,7 @@
{{if .HasRepositoryAccess}}
<div class="item">{{svg "octicon-repo" 16 "mr-3"}} <a href="{{.PackageDescriptor.Repository.HTMLURL}}">{{.PackageDescriptor.Repository.FullName}}</a></div>
{{end}}
- <div class="item">{{svg "octicon-calendar" 16 "mr-3"}} {{.PackageDescriptor.Version.CreatedUnix.FormatDate}}</div>
+ <div class="item">{{svg "octicon-calendar" 16 "mr-3"}} {{TimeSinceUnix .PackageDescriptor.Version.CreatedUnix $.locale}}</div>
<div class="item">{{svg "octicon-download" 16 "mr-3"}} {{.PackageDescriptor.Version.DownloadCount}}</div>
{{template "package/metadata/composer" .}}
{{template "package/metadata/conan" .}}