about summary refs log tree commit diff
path: root/app/views/disputes
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-01-05 13:35:28 +0100
committerGitHub <noreply@github.com>2023-01-05 13:35:28 +0100
commitb8ad446f77479010997a4a3c52fa7b47fb403eed (patch)
tree42d82f47ebe3e60e5f396fef966da12d79f92cd3 /app/views/disputes
parentb81b646e3bf94ebc1b86999250092e947d7bc5dc (diff)
Fix incorrectly formatted datetime in account moderation note timestamp (#22555)
* Fix incorrectly formatted datetime in account moderation note timestamp

Fix oversight from #21878

* Fix use of non-existent translation string
Diffstat (limited to 'app/views/disputes')
-rw-r--r--app/views/disputes/strikes/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/disputes/strikes/show.html.haml b/app/views/disputes/strikes/show.html.haml
index cab0a17eb..7797348dd 100644
--- a/app/views/disputes/strikes/show.html.haml
+++ b/app/views/disputes/strikes/show.html.haml
@@ -111,7 +111,7 @@
         %span.username
           = link_to @appeal.account.username, can?(:show, @appeal.account) ? admin_account_path(@appeal.account_id) : short_account_url(@appeal.account)
         %time.relative-formatted{ datetime: @appeal.created_at.iso8601 }
-          = t('admin.report_notes.created_at')
+          = l @appeal.created_at.to_date
 
       .report-notes__item__content
         = simple_format(h(@appeal.text))