Skip to content
Snippets Groups Projects
Commit 00f9f16f authored by Yamagishi Kazutoshi's avatar Yamagishi Kazutoshi Committed by Eugen Rochko
Browse files

Change timezone of the datetime to what browser specifies (#4688)

parent 18f69fb9
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@
%th= t('admin.accounts.most_recent_activity')
%td
- if @account.user_current_sign_in_at
= l @account.user_current_sign_in_at
%time.formatted{ datetime: @account.user_current_sign_in_at.iso8601, title: l(@account.user_current_sign_in_at) }
= l @account.user_current_sign_in_at
- else
Never
- else
......@@ -43,7 +44,8 @@
%th= t('admin.accounts.push_subscription_expires')
%td
- if @account.subscribed?
= l @account.subscription_expires_at
%time.formatted{ datetime: account.subscription_expires_at.iso8601, title: l(account.subscription_expires_at) }
= l @account.subscription_expires_at
- else
= t('admin.accounts.not_subscribed')
%tr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment