Template:Duration/doc

Formats a duration given in seconds.

Usage
If the second parameter is given (any non-whitespace character will do), the format will be like dd:hh:mm:ss. If the second parameter is empty, the format will be like 1d 4h 23m 2s. Seconds will be rounded to 3 digits.

Examples

 * creates
 * creates
 * creates
 * creates
 * creates
 * creates
 * creates
 * creates
 * (duration is not specified) creates