Simple formatter for time intervals from milliseconds to years