From 56dd03417bae0da52aff697f71e66a44bf1d307b Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Thu, 7 Nov 2024 04:26:27 +0000 Subject: [PATCH] add changes from #32383 #32409 --- templates/repo/home.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 @@