diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index e8e05ffb40..deeda16300 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -12,7 +12,7 @@ {{if .Repository.ArchivedUnix.IsZero}} {{ctx.Locale.Tr "repo.archive.title"}} {{else}} - {{ctx.Locale.Tr "repo.archive.title_date" (DateTime "long" .Repository.ArchivedUnix)}} + {{ctx.Locale.Tr "repo.archive.title_date" (DateUtils.AbsoluteLong .Repository.ArchivedUnix)}} {{end}} {{end}} @@ -159,7 +159,7 @@
- {{TimeSinceUnix .LatestRelease.CreatedUnix ctx.Locale}} + {{DateUtils.TimeSince .LatestRelease.CreatedUnix}}