Use friendly_date_ago for user blocks

Refs #2255
This commit is contained in:
Andy Allan 2019-06-19 12:09:46 +02:00
parent 75bf96c4f3
commit e5d8bd539f
2 changed files with 1 additions and 2 deletions

View file

@ -28,7 +28,7 @@
</p> </p>
<% end %> <% end %>
<p><b><%= t ".created" %></b>: <%= raw t ".ago", :time => friendly_date(@user_block.created_at) %></p> <p><b><%= t ".created" %></b>: <%= friendly_date_ago(@user_block.created_at) %></p>
<p><b><%= t ".status" %></b>: <%= block_status(@user_block) %></p> <p><b><%= t ".status" %></b>: <%= block_status(@user_block) %></p>

View file

@ -2401,7 +2401,6 @@ en:
title: "%{block_on} blocked by %{block_by}" title: "%{block_on} blocked by %{block_by}"
heading: "%{block_on} blocked by %{block_by}" heading: "%{block_on} blocked by %{block_by}"
created: "Created" created: "Created"
ago: "%{time} ago"
status: "Status" status: "Status"
show: "Show" show: "Show"
edit: "Edit" edit: "Edit"