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