]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.gpx.builder
Merge pull request #3414 from tomhughes/rails7
[rails.git] / app / views / api / notes / _note.gpx.builder
index f6bb39d27dc1347883785c5a76546fa42ecb12d2..74961b2e058649d0ad1fea32e0a95f2e721960a8 100644 (file)
@@ -1,5 +1,5 @@
 xml.wpt("lon" => note.lon, "lat" => note.lat) do
-  xml.time note.created_at.to_s(:iso8601)
+  xml.time note.created_at.to_formatted_s(:iso8601)
   xml.name t("browse.note.title", :id => note.id)
 
   xml.desc do