X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/656ed0af7618232bfd45875945e4718c372081d2..d8d1ab17764e5e0a7af99248cb5047d2af99d534:/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