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