Module:Duration/doc

The module is meant for language-dependant time calculations.

It exports a single function: sumHMS, which accepts unnamed (aka "order based") arguments in the form ssss (any number of digits) or "mm:ss" or "hh:mm:ss:, sums up all the periods, and returns the output string describing the total duration.

An optional paramter, "units" controls the format of the output.

Examples

 * returns "".
 * returns " "
 * returns "".