]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/_common_details.html.erb
Replace custom css class with bootstrap inline utility
[rails.git] / app / views / browse / _common_details.html.erb
index 44bbe04f8c1ec408e50e24c0092bc8a1892e9ff7..1c8f1c5da4293105c06200e2b29647b8395a7d05 100644 (file)
@@ -8,7 +8,7 @@
 
 <div class="details">
   <%= t "browse.#{common_details.visible? ? :edited : :deleted}_by_html",
-        :time => distance_of_time_in_words_to_now(common_details.timestamp),
+        :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) %>
 </div>