ocpsoft/prettytime — pull request #7 by nessumo (2012-02-28 15:39:18+00:00)
Title: Support for displaying precise duration, i.e. <3 days 4 hours ago>

Please consider applying this upgrade.
Currently rounding is forced, so in fact there is no way to display precise time. One can calculate list of Durations, but then if we have for example (3 hours, 45 minutes, 55 seconds) to display, after formatting each Duration separately we end up with: (4 hours, 46 minutes, 55 seconds).
This patch introduces optional rounding and optional decorating (but old interface remains intact with previous defaults) and handy interface to do so. Calling PrettyTime.format(List) can give results like: ''3 days 22 hours 34 minutes from now".