2
0

Include time portion in formatted datetimes when provided (#33191)

This commit is contained in:
Emelia Smith
2025-01-08 15:26:08 +01:00
committed by GitHub
parent 2c36283a89
commit 15669fcf75
4 changed files with 8 additions and 4 deletions

View File

@@ -18,7 +18,7 @@
= link_to report.account.username, admin_account_path(report.account_id)
- else
= link_to report.account.domain, admin_instance_path(report.account.domain)
%time.relative-formatted{ datetime: report.created_at.iso8601 }
%time.relative-formatted{ datetime: report.created_at.iso8601, title: report.created_at }
= l report.created_at.to_date
.report-notes__item__content
= simple_format(h(report.comment))