format datetime jinja2

{{ date_of_something.strftime('%Y-%m-%d') }}
b0lle