diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-11-02 12:08:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-02 04:08:28 +0000 |
commit | fec6b3d50072e48bb51c18c5c4ea682dc6319573 (patch) | |
tree | a2a90692cb4c91ea10ecc85d39b5c582e2af0b25 /templates/admin/packages | |
parent | 7dcccc3bb19655a6f83dd495ffc332708d0c8678 (diff) | |
download | gitea-fec6b3d50072e48bb51c18c5c4ea682dc6319573.tar.gz gitea-fec6b3d50072e48bb51c18c5c4ea682dc6319573.zip |
Replace DateTime with DateUtils (#32383)
Diffstat (limited to 'templates/admin/packages')
-rw-r--r-- | templates/admin/packages/list.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/packages/list.tmpl b/templates/admin/packages/list.tmpl index a5ad93b89c..6f5cef7a7b 100644 --- a/templates/admin/packages/list.tmpl +++ b/templates/admin/packages/list.tmpl @@ -71,7 +71,7 @@ {{end}} </td> <td>{{FileSize .CalculateBlobSize}}</td> - <td>{{DateTime "short" .Version.CreatedUnix}}</td> + <td>{{ctx.DateUtils.AbsoluteShort .Version.CreatedUnix}}</td> <td><a class="delete-button" href="" data-url="{{$.Link}}/delete?page={{$.Page.Paginater.Current}}&sort={{$.SortType}}" data-id="{{.Version.ID}}" data-name="{{.Package.Name}}" data-data-version="{{.Version.Version}}">{{svg "octicon-trash"}}</a></td> </tr> {{end}} |