]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/changesets/_changeset.builder
Introduce relation member limit
[rails.git] / app / views / api / changesets / _changeset.builder
index 47c494d9bb3401409498ed7fb35830f7ae477303..29218419677024863a3778347b503c1d32e87839 100644 (file)
@@ -7,7 +7,7 @@ attrs = {
   "comments_count" => changeset.comments.length,
   "changes_count" => changeset.num_changes
 }
-attrs["closed_at"] = changeset.closed_at unless changeset.is_open?
+attrs["closed_at"] = changeset.closed_at.xmlschema unless changeset.is_open?
 changeset.bbox.to_unscaled.add_bounds_to(attrs, "_") if changeset.bbox.complete?
 
 # user attributes