X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..b8da7922ec4194e61a1eebb43be787f8b55d1647:/app/views/traces/georss.rss.builder diff --git a/app/views/traces/georss.rss.builder b/app/views/traces/georss.rss.builder index 991f74ebb..36641fec0 100644 --- a/app/views/traces/georss.rss.builder +++ b/app/views/traces/georss.rss.builder @@ -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