mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:19:52 +01:00
Translate post time for answerbox comments
This commit is contained in:
parent
437e72a322
commit
1caac0e2db
1 changed files with 1 additions and 2 deletions
|
@ -13,8 +13,7 @@
|
|||
%h6.media-heading.comment__user
|
||||
= user_screen_name comment.user
|
||||
%span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } }
|
||||
= time_ago_in_words(comment.created_at)
|
||||
ago
|
||||
= t("time.distance_ago", time: time_ago_in_words(comment.created_at))
|
||||
.comment__content
|
||||
= markdown comment.content
|
||||
.pull-right
|
||||
|
|
Loading…
Reference in a new issue