From 0058765a4eef19bf0c7b773ff454abecc05dcf5c Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 15 Nov 2023 19:45:48 +0000 Subject: [PATCH] Avoid wrapping friendly_date with abbr tags --- app/views/browse/changeset.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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") %> -- 2.45.1