relative timestamps

This commit is contained in:
jomo
2014-05-02 05:12:16 +02:00
parent 04066ba49f
commit a2ac6582b1
14 changed files with 70 additions and 23 deletions

View File

@@ -64,7 +64,7 @@
<% end %>
<tr>
<td>Joined</td>
<td><%= @user.created_at.strftime("%e. %b %Y, %H:%M") %></td>
<td><%= @user.created_at.strftime("%e %b %Y, %H:%M") %></td>
</tr>
<% if mod? || @user.is?(current_user) %>
<tr>
@@ -77,7 +77,7 @@
</tr>
<tr>
<td>Last seen</td>
<td><%= @user.last_seen.strftime("%e. %b %Y, %H:%M") %></td>
<td><%= @user.last_seen.strftime("%e %b %Y, %H:%M") %></td>
</tr>
<% end %>
</tbody>