How do I form “fuzzy” date/time from RFC 2822 formatted (Sat, 18 Jul 2009 10:57:43 +0300) timestamp?
With fuzzy date I mean like: “5 minutes ago”, “2 days, 15 minutes ago”.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Rails gives your views a helper function called
time_ago_in_wordsthat you can call to output just such a format from aTimeobject.