mirror of
https://github.com/go-gitea/gitea
synced 2025-07-26 12:18:36 +00:00
Fix template function DateTime (#24317)
Before, 500 error 
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{{else if .Location}}
|
||||
{{svg "octicon-location"}} {{.Location}}
|
||||
{{else}}
|
||||
{{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}}
|
||||
{{end}}
|
||||
</div>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user