diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-11-04 19:30:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-04 11:30:00 +0000 |
commit | b068dbd40ee3b4dc7d18cdcf168f0c24cea234c0 (patch) | |
tree | 154bf826f6850bed412c8d94be37bfcec94adbc6 /templates/repo/settings/lfs.tmpl | |
parent | 61be51e56baf037aa7902e7cd066b895a10da244 (diff) | |
download | gitea-b068dbd40ee3b4dc7d18cdcf168f0c24cea234c0.tar.gz gitea-b068dbd40ee3b4dc7d18cdcf168f0c24cea234c0.zip |
Refactor DateUtils and merge TimeSince (#32409)
Follow #32383 and #32402
Diffstat (limited to 'templates/repo/settings/lfs.tmpl')
-rw-r--r-- | templates/repo/settings/lfs.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/lfs.tmpl b/templates/repo/settings/lfs.tmpl index bc92b4828b..c1878d2853 100644 --- a/templates/repo/settings/lfs.tmpl +++ b/templates/repo/settings/lfs.tmpl @@ -17,7 +17,7 @@ </a> </td> <td>{{FileSize .Size}}</td> - <td>{{TimeSince .CreatedUnix.AsTime ctx.Locale}}</td> + <td>{{DateUtils.TimeSince .CreatedUnix}}</td> <td class="right aligned"> <a class="ui primary button" href="{{$.Link}}/find?oid={{.Oid}}&size={{.Size}}">{{ctx.Locale.Tr "repo.settings.lfs_findcommits"}}</a> <button class="ui basic show-modal icon button red" data-modal="#delete-{{.Oid}}"> |