Use local time in audit log (#10751)
This commit is contained in:
parent
062684bcf8
commit
d35f558b37
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
.log-entry__title
|
.log-entry__title
|
||||||
= t("admin.action_logs.actions.#{action_log.action}_#{action_log.target_type.underscore}", name: content_tag(:span, action_log.account.username, class: 'username'), target: content_tag(:span, log_target(action_log), class: 'target')).html_safe
|
= t("admin.action_logs.actions.#{action_log.action}_#{action_log.target_type.underscore}", name: content_tag(:span, action_log.account.username, class: 'username'), target: content_tag(:span, log_target(action_log), class: 'target')).html_safe
|
||||||
.log-entry__timestamp
|
.log-entry__timestamp
|
||||||
%time= l action_log.created_at
|
%time.formatted{ datetime: action_log.created_at.iso8601 }
|
||||||
.spacer
|
.spacer
|
||||||
.log-entry__icon
|
.log-entry__icon
|
||||||
= fa_icon icon_for_log(action_log)
|
= fa_icon icon_for_log(action_log)
|
||||||
|
|
Loading…
Reference in a new issue