X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dcfe326f6515cc7aeb9c02b7536e69863c60cd01..2efd73c672dae8f6956024638b4b090961e74781:/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