X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..51f331e8cccbd20f06f5de1d7f2b043da327fd0a:/app/views/diary_entries/rss.rss.builder?ds=sidebyside diff --git a/app/views/diary_entries/rss.rss.builder b/app/views/diary_entries/rss.rss.builder index 06361c49e..2fec0e5e5 100644 --- a/app/views/diary_entries/rss.rss.builder +++ b/app/views/diary_entries/rss.rss.builder @@ -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_formatted_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