From: Tom Hughes Date: Mon, 20 Feb 2017 08:50:56 +0000 (+0000) Subject: Use created at for RSS format with note#show X-Git-Tag: live~3557 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/425f3f309bc7954850c1ab3b64e9ec3930651ce4?hp=dc834adc86754e4d2c71c5bff2842e38814fd020 Use created at for RSS format with note#show This matches other formats and is also what the tests expect. --- diff --git a/app/views/notes/_note.rss.builder b/app/views/notes/_note.rss.builder index 038ca564b..38c42f1ec 100644 --- a/app/views/notes/_note.rss.builder +++ b/app/views/notes/_note.rss.builder @@ -15,7 +15,7 @@ xml.item do xml.dc :creator, note.author.display_name if note.author - xml.pubDate note.updated_at.to_s(:rfc822) + xml.pubDate note.created_at.to_s(:rfc822) xml.geo :lat, note.lat xml.geo :long, note.lon xml.georss :point, "#{note.lat} #{note.lon}"