forked from kevadesu/forgejo
[PORT] Refactor DateUtils and merge TimeSince (gitea#32409)
Follow #32383 and #32402 --- Conflict resolution: Magic, painful. (cherry picked from commit b068dbd40ee3b4dc7d18cdcf168f0c24cea234c0)
This commit is contained in:
parent
8f6dfe29da
commit
7e1aa8a5cd
74 changed files with 241 additions and 228 deletions
|
@ -1,6 +1,6 @@
|
|||
{{range .comments}}
|
||||
|
||||
{{$createdStr:= TimeSinceUnix .CreatedUnix ctx.Locale}}
|
||||
{{$createdStr:= DateUtils.TimeSince .CreatedUnix}}
|
||||
<div class="comment" id="{{.HashTag}}">
|
||||
{{if .OriginalAuthor}}
|
||||
<span class="avatar">{{ctx.AvatarUtils.Avatar nil}}</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue