Skip to content

Commit

Permalink
Translate post time for answerbox comments
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeldesu committed Jul 31, 2022
1 parent 437e72a commit 1caac0e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/answerbox/_comments.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1caac0e

Please sign in to comment.