X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..783b5e3729228908d7404ae7404af1023501a906:/app/views/browse/_common_details.html.erb diff --git a/app/views/browse/_common_details.html.erb b/app/views/browse/_common_details.html.erb index 3f2359599..1c8f1c5da 100644 --- a/app/views/browse/_common_details.html.erb +++ b/app/views/browse/_common_details.html.erb @@ -7,12 +7,10 @@
- <%= - t "browse.#{common_details.visible? ? :edited : :deleted}_by_html", - :time => distance_of_time_in_words_to_now(common_details.timestamp), + <%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html", + :time => time_ago_in_words(common_details.timestamp, :scope => :'datetime.distance_in_words_ago'), :user => changeset_user_link(common_details.changeset), - :title => l(common_details.timestamp) - %> + :title => l(common_details.timestamp) %>