Commit 02527f2a

mo khan <mo@mokhan.ca>
2014-11-02 03:27:02
format date on users listing.
1 parent 2dff0bb
Changed files (1)
app
views
admin
app/views/admin/users/_index.html.erb
@@ -32,7 +32,7 @@
         <%= "<li>#{user.facebook}</li>".html_safe unless user.facebook.blank? %>
       </ul>
     </td>
-    <td><%= user.created_at.strftime("%Y-%m-%d") %></td>
+    <td><%= user.created_at.to_formatted_s(:short) %></td>
     </tr>
   <% end %>
   </tbody>