No, I do not think that there is a built-in filter for formatting timedelta , but it is quite easy to write it yourself.
Here is a basic (and unverified) example:
from django import template register = template.Library() @register.filter def duration(td): total_seconds = int(td.total_seconds()) hours = total_seconds
source share