From dabec3e1241d0b56791cb2dff1c650ba6a36e96e Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 30 Apr 2025 10:09:31 +0200 Subject: [PATCH] More verbose time stamps --- app/views/cards/comments/_comment.html.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/cards/comments/_comment.html.erb b/app/views/cards/comments/_comment.html.erb index 7b30887d2..695b8588a 100644 --- a/app/views/cards/comments/_comment.html.erb +++ b/app/views/cards/comments/_comment.html.erb @@ -11,8 +11,9 @@ <%= link_to comment.creator.name, comment.creator, class: "txt-ink btn btn--plain fill-transparent", data: { turbo_frame: "_top" } %> - <%= link_to comment, class: "txt-undecorated txt-uppercase" do %> - <%= local_datetime_tag comment.created_at, style: :shortdate, class: "txt-ink translucent" %> + <%= link_to comment, class: "txt-undecorated txt-ink translucent txt-normal txt-capitalize" do %> + <%= local_datetime_tag comment.created_at, style: :agoorweekday %>, + <%= local_datetime_tag comment.created_at, style: :time %> <% end %> <%= link_to edit_card_comment_path(comment.card, comment),