Add adjustable precision to format_timedelta.