[openstreetmap/openstreetmap-website] Switch to using jbuilder for JSON templates (#2434)
Andy Allan
notifications at github.com
Wed Nov 20 13:38:59 UTC 2019
I think we should keep the date format matching, to avoid breaking compatibility with anything. I checked and a straightforward `json.date_created note.created_at.to_s` (and `to_s` for the other dates, of course) appears to be sufficient.
It would be good to move all the notes dates (including in the XML) to the same "xmlschema" format as the rest of the API, but let's make that part of the next API version.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2434#issuecomment-556007092
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191120/5744757b/attachment.html>
More information about the rails-dev
mailing list