From: Dan Karran Date: Sun, 17 Jun 2007 19:17:55 +0000 (+0000) Subject: Using RFC-822 date for RSS feeds. X-Git-Tag: live~8417 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/1a1f6002436f09b2e8600b43c667672c33c39025 Using RFC-822 date for RSS feeds. --- diff --git a/lib/osm.rb b/lib/osm.rb index 7f1f4d101..99b2dc673 100644 --- a/lib/osm.rb +++ b/lib/osm.rb @@ -295,7 +295,7 @@ module OSM item << description pubDate = XML::Node.new 'pubDate' - pubDate << timestamp.xmlschema + pubDate << timestamp.to_s(:rfc822) item << pubDate if latitude