]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/trace/edit.html.erb
Add a "friendly" date/time format and use it whenever we are printing
[rails.git] / app / views / trace / edit.html.erb
index 523607ae63b660094bcd930dbe92a175b261b105..202f9039d573b5a81ed954818c91f2af6ee40941 100644 (file)
@@ -11,7 +11,7 @@
   </tr> 
   <tr>
     <td><%= t'trace.edit.uploaded_at' %></td>
-    <td><%= l @trace.timestamp %></td>
+    <td><%= l @trace.timestamp, :format => :friendly %></td>
   </tr>
   <% if @trace.inserted? %>
   <tr>