]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/tracepoints_controller.rb
Merge pull request #3009 from gravitystorm/svg_icons
[rails.git] / app / controllers / api / tracepoints_controller.rb
index 9dc6e0d8b3ca996ff91ae3f846704b42159d22aa..b2d755fe6caeaefccfac88a7e94ddf569c6467b6 100644 (file)
@@ -96,7 +96,7 @@ module Api
           end
         end
 
-        trkseg << point.to_xml_node(timestamps)
+        trkseg << point.to_xml_node(:print_timestamp => timestamps)
       end
 
       response.headers["Content-Disposition"] = "attachment; filename=\"tracks.gpx\""