]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/georss.rss.builder
Fix new rubocop warnings
[rails.git] / app / views / traces / georss.rss.builder
index b17192ec81a1943da715d773817daa1d97ab1335..36641fec0b4e2f14c8f7191f0be3f084655840de 100644 (file)
@@ -30,7 +30,7 @@ xml.rss("version" => "2.0",
 
         xml.dc :creator, trace.user.display_name
 
-        xml.pubDate trace.timestamp.to_s(:rfc822)
+        xml.pubDate trace.timestamp.to_fs(:rfc822)
 
         if trace.latitude && trace.longitude
           xml.geo :lat, trace.latitude