xml.pubDate(p.updated_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
If you're just using strftime someplace else, perhaps in PHP, try:
strftime("%a, %d %b %Y %H:%M:%S %z")
11381 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
xml.pubDate(p.updated_at.strftime("%a, %d %b %Y %H:%M:%S %z"))
strftime("%a, %d %b %Y %H:%M:%S %z")
p.updated_at.rfc2822
You need to create an account or log in to post comments to this site.
Time.rfc2822(p.updated_at)