mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 04:38:36 +00:00
Refactor DateUtils and merge TimeSince (#32409)
Follow #32383 and #32402
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
{{ctx.Locale.Tr "repo.diff.commit"}}
|
||||
<a class="ui primary sha label" href="{{$.RepoLink}}/commit/{{.SHA}}">{{ShortSha .SHA}}</a>
|
||||
</td>
|
||||
<td>{{TimeSince .When ctx.Locale}}</td>
|
||||
<td>{{DateUtils.TimeSince .When}}</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user