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.
In reply to Re: RFC: DateTime::TimeAgo
by Sixtease
in thread RFC: DateTime::TimeAgo
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |