X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/874fddf49945443e5af47812fa3a30e96375ce9c..90ac07d071ed8dbfdea6214419e1b5205a529b2f:/app/views/api/changesets/_changeset.builder diff --git a/app/views/api/changesets/_changeset.builder b/app/views/api/changesets/_changeset.builder index 47c494d9b..292184196 100644 --- a/app/views/api/changesets/_changeset.builder +++ b/app/views/api/changesets/_changeset.builder @@ -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