summaryrefslogtreecommitdiff
path: root/app/views/admin/users/show.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-01-06 17:27:56 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-01-07 20:01:08 -0500
commitfa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (patch)
treece7eb20119e69fac8cb41f35dd059599b4e71817 /app/views/admin/users/show.html.haml
parent59305715e9d3569f47d7c2accc2106022c0a6960 (diff)
downloadgitlab-ce-fa36749bcee7fa2eb72c9f2a6a28aab1b7274097.tar.gz
Add two custom Date/Time conversion formats
Diffstat (limited to 'app/views/admin/users/show.html.haml')
-rw-r--r--app/views/admin/users/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml
index 5d8601c4668..2c2450d4117 100644
--- a/app/views/admin/users/show.html.haml
+++ b/app/views/admin/users/show.html.haml
@@ -58,12 +58,12 @@
%li
%span.light Member since:
%strong
- = @user.created_at.strftime('%b %-d, %Y')
+ = @user.created_at.to_s(:medium)
- if @user.confirmed_at
%li
%span.light Confirmed at:
%strong
- = @user.confirmed_at.strftime('%b %-d, %Y')
+ = @user.confirmed_at.to_s(:medium)
- else
%li
%span.light Confirmed:
@@ -74,7 +74,7 @@
%span.light Current sign-in at:
%strong
- if @user.current_sign_in_at
- = @user.current_sign_in_at.strftime('%b %-d, %Y')
+ = @user.current_sign_in_at.to_s(:medium)
- else
never
@@ -82,7 +82,7 @@
%span.light Last sign-in at:
%strong
- if @user.last_sign_in_at
- = @user.last_sign_in_at.strftime('%b %-d, %Y')
+ = @user.last_sign_in_at.to_s(:medium)
- else
never