about summary refs log tree commit diff
path: root/app/views/admin
diff options
context:
space:
mode:
authornzws <git@nzws.me>2019-05-11 13:46:02 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-05-11 06:46:01 +0200
commitbe851321c037a921e055b175d64d0b54d313f8b3 (patch)
treea1811ed32fe5067483f76998bdce69917ad81ee1 /app/views/admin
parent775ee63b71752a05fefa8070d8fba704006c598d (diff)
Use local time in audit log (#10751)
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/action_logs/_action_log.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/action_logs/_action_log.html.haml b/app/views/admin/action_logs/_action_log.html.haml
index f059814bd..a545e189e 100644
--- a/app/views/admin/action_logs/_action_log.html.haml
+++ b/app/views/admin/action_logs/_action_log.html.haml
@@ -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)