1
0

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

This commit is contained in:
Yamagishi Kazutoshi 2017-08-26 00:21:00 +09:00 committed by Eugen Rochko
parent 18f69fb964
commit 00f9f16f94

View File

@ -24,7 +24,8 @@
%th= t('admin.accounts.most_recent_activity') %th= t('admin.accounts.most_recent_activity')
%td %td
- if @account.user_current_sign_in_at - 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 - else
Never Never
- else - else
@ -43,7 +44,8 @@
%th= t('admin.accounts.push_subscription_expires') %th= t('admin.accounts.push_subscription_expires')
%td %td
- if @account.subscribed? - 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 - else
= t('admin.accounts.not_subscribed') = t('admin.accounts.not_subscribed')
%tr %tr