Add a "friendly" date/time format and use it whenever we are printing
[rails.git] / app / views / trace / view.html.erb
index c1d5e04..73638cb 100644 (file)
@@ -15,7 +15,7 @@
   </tr> 
   <tr>
     <td><%= t'trace.view.uploaded' %></td>
-    <td><%= l @trace.timestamp %></td>
+    <td><%= l @trace.timestamp, :format => :friendly %></td>
   </tr>
   <% if @trace.inserted? %>
   <tr>