From 0e8045d8ea51b1bf856cfd9c57cabd8187a3a2ab Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Wed, 26 Apr 2023 03:48:30 +0800 Subject: Fix template function DateTime (#24317) Before, 500 error ![image](https://user-images.githubusercontent.com/2114189/234170176-403ffd1b-ec27-42be-bff9-86184dc8d74d.png) --- templates/explore/users.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/explore/users.tmpl') diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl index 4cab94ee86..0c1ba27448 100644 --- a/templates/explore/users.tmpl +++ b/templates/explore/users.tmpl @@ -18,7 +18,7 @@ {{svg "octicon-mail"}} {{.Email}} {{end}} - {{svg "octicon-clock"}} {{$.locale.Tr "user.join_on"}} {{DateTime "short" .CreatedUnix.FormatLong .CreatedUnix.FormatShort}} + {{svg "octicon-clock"}} {{$.locale.Tr "user.join_on"}} {{DateTime "short" .CreatedUnix}} -- cgit v1.2.3