]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset_comments/_comments.rss.builder
Replace to_s on TimeWithZone objects with to_formatted_s
[rails.git] / app / views / changeset_comments / _comments.rss.builder
index 8848b9a80ddc8328de356936fe8bd9936cea441f..4136b24b492e94438f2f9ce3c0ad2746141853bb 100644 (file)
@@ -11,6 +11,6 @@ comments.each do |comment|
 
     xml.dc :creator, comment.author.display_name if comment.author
 
-    xml.pubDate comment.created_at.to_s(:rfc822)
+    xml.pubDate comment.created_at.to_formatted_s(:rfc822)
   end
 end