def format_timedelta(): if not value: return '' return timedelta_format(value, context.get(field.get('converter')))