Module: SitemapHelper

Defined in:
app/helpers/sitemap_helper.rb

Instance Method Summary collapse

Instance Method Details

#w3c_date(date) ⇒ Object



3
4
5
# File 'app/helpers/sitemap_helper.rb', line 3

def w3c_date(date)
   date.utc.strftime("%Y-%m-%dT%H:%M:%S+00:00")
end