See also
format_number, format_integer, format_price
Show a duration in hours, minutes and seconds.
Takes as input a number representing a number of seconds. Outputs a human readable form.
For example:
{{ 123|format_duration }}
Will ouput 2m3s.
2m3s
And:
{{ 3601|format_duration }}
Will ouput 1h0m1s.
1h0m1s