I do ‘@item.datetime.to_formatted_s(:rfc822)’ and it
‘:db’ doesn’t work either, but ‘:short’ does. How can
I output rfc822 without actually putting all that
awful % code in my templates? I’ve also tried this in
environment.rb, but it still doesn’t work:
=> “%a, %d %b %Y %H:%M:%S %z”)
Also, why does strftime() work, but not rfc822()?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around