Translate post time for answerbox comments

This commit is contained in:
Andreas Nedbal 2022-07-31 13:52:51 +02:00 committed by Andreas Nedbal
parent 437e72a322
commit 1caac0e2db

View file

@ -13,8 +13,7 @@
%h6.media-heading.comment__user %h6.media-heading.comment__user
= user_screen_name comment.user = user_screen_name comment.user
%span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } } %span.text-muted{ title: comment.created_at, data: { toggle: :tooltip, placement: :right } }
= time_ago_in_words(comment.created_at) = t("time.distance_ago", time: time_ago_in_words(comment.created_at))
ago
.comment__content .comment__content
= markdown comment.content = markdown comment.content
.pull-right .pull-right