]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/diary_entries/rss.rss.builder
Merge pull request #4919 from rkoeze/rkoeze/add-github-pr-template
[rails.git] / app / views / diary_entries / rss.rss.builder
index be627437dd9b0ea8efb863e7d845f364dbfdeb1c..2fec0e5e596bea6b40e193c30cfd8c61bbe62ff9 100644 (file)
@@ -23,7 +23,7 @@ xml.rss("version" => "2.0",
         xml.guid diary_entry_url(entry.user, entry, :only_path => false)
         xml.description entry.body.to_html
         xml.dc :creator, entry.user.display_name
-        xml.pubDate entry.created_at.to_s(:rfc822)
+        xml.pubDate entry.created_at.to_fs(:rfc822)
         xml.comments diary_entry_url(entry.user, entry, :anchor => "comments", :only_path => false)
 
         if entry.latitude && entry.longitude