]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/api/tracepoints_controller.rb
Merge remote-tracking branch 'upstream/pull/2921' into master
[rails.git] / app / controllers / api / tracepoints_controller.rb
index 5fbece05b7a1eb08638cb6b8c64acad0897113ad..f7b812f7c6be5d6d86d842e6dfaf50c8e96a7fd9 100644 (file)
@@ -98,7 +98,7 @@ module Api
           end
         end
 
           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\""
       end
 
       response.headers["Content-Disposition"] = "attachment; filename=\"tracks.gpx\""