Use created at for RSS format with note#show

This matches other formats and is also what the tests expect.
This commit is contained in:
Tom Hughes 2017-02-20 08:50:56 +00:00
parent dc834adc86
commit 425f3f309b

View file

@ -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}"