Skip to content

Commit

Permalink
Use local time in audit log (#10751)
Browse files Browse the repository at this point in the history
  • Loading branch information
nzws authored and Gargron committed May 11, 2019
1 parent 775ee63 commit be85132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/action_logs/_action_log.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.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
.log-entry__timestamp
%time= l action_log.created_at
%time.formatted{ datetime: action_log.created_at.iso8601 }
.spacer
.log-entry__icon
= fa_icon icon_for_log(action_log)
Expand Down

0 comments on commit be85132

Please sign in to comment.