summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2017-09-08 22:54:33 -0600
committermo <mo.khan@gmail.com>2017-09-08 22:54:33 -0600
commitc359e7c40944505112203a5a74f25a8265e9b2a9 (patch)
treecf951420604b885f0f20176238fe4c41ba14db71 /app
parentf84f05c935d81a76353deb384330263688718a20 (diff)
display join date in local time.
Diffstat (limited to 'app')
-rw-r--r--app/views/profiles/_index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/_index.html.erb b/app/views/profiles/_index.html.erb
index 171a3926..7aafb4e2 100644
--- a/app/views/profiles/_index.html.erb
+++ b/app/views/profiles/_index.html.erb
@@ -6,7 +6,7 @@
<% end %>
<div class="card-body">
<h4 class="card-title"><%= truncate(profile.name, length: 20) %></h4>
- <p class="card-text"><small class="text-muted">joined <%= distance_of_time_in_words_to_now profile.created_at %> ago</small></p>
+ <p class="card-text"><small class="text-muted">joined <%= local_time(profile.created_at) %></small></p>
</div>
</div>
<% end %>