From: Andy Allan Date: Wed, 15 Nov 2023 19:45:48 +0000 (+0000) Subject: Avoid wrapping friendly_date with abbr tags X-Git-Tag: live~474^2~2 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/0058765a4eef19bf0c7b773ff454abecc05dcf5c?ds=sidebyside Avoid wrapping friendly_date with abbr tags --- diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 74596e529..ec4e0c1c2 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -35,8 +35,7 @@
  • <%= t(".comment_by_html", - :time_ago => tag.abbr(friendly_date_ago(comment.created_at), - :title => l(comment.created_at)), + :time_ago => friendly_date_ago(comment.created_at), :user => link_to(comment.author.display_name, user_path(comment.author))) %> <% if current_user and current_user.moderator? %> — <%= t("javascripts.changesets.show.hide_comment") %> @@ -50,8 +49,7 @@
  • <%= t(".hidden_comment_by_html", - :time_ago => tag.abbr(friendly_date_ago(comment.created_at), - :title => l(comment.created_at)), + :time_ago => friendly_date_ago(comment.created_at), :user => link_to(comment.author.display_name, user_path(comment.author))) %> — <%= t("javascripts.changesets.show.unhide_comment") %>