使用Jinja2,如何格式化日期字段?我知道在Python中我可以简单地这样做:
print(car.date_of_manufacture.strftime('%Y-%m-%d'))
但是如何在Jinja2中格式化日期?谢谢.
python jinja2
jinja2 ×1
python ×1