X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3ed9988ce5f57ed303326072f7f583b641e8774..d8d1ab17764e5e0a7af99248cb5047d2af99d534:/app/views/api/changesets/_changeset.builder?ds=sidebyside 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