]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/notes/_note.rss.builder
Merge pull request #3414 from tomhughes/rails7
[rails.git] / app / views / api / notes / _note.rss.builder
index 4dc47d158d5d12b41deae7e66e4bd5df095c5bc5..3e562d1a20365ea0aee61961743b033489bcd0ee 100644 (file)
@@ -15,7 +15,7 @@ xml.item do
 
   xml.dc :creator, note.author.display_name if note.author
 
-  xml.pubDate note.created_at.to_s(:rfc822)
+  xml.pubDate note.created_at.to_formatted_s(:rfc822)
   xml.geo :lat, note.lat
   xml.geo :long, note.lon
   xml.georss :point, "#{note.lat} #{note.lon}"