Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: RFC: DateTime::TimeAgo

by Sixtease (Friar)
on Dec 15, 2010 at 12:56 UTC ( #877254=note: print w/ replies, xml ) Need Help??


in reply to RFC: DateTime::TimeAgo

Thank you for the suggestions.

The output depends not only on the durations itself but also on the $now time -- 4 days ago can be output as 'this week' or 'last week' depending on the current DOW. That's why I'll keep the current interface of two DT objects until a better option is found. The same thing speaks also against making it a duration format.

use strict; use warnings; print "Just Another Perl Hacker\n";


Comment on Re: RFC: DateTime::TimeAgo

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877254]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2015-07-29 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls