@gkovacsp wrote:
Theoretically jinja supports the |truncate function, but it does not seem to work in the following setup:
{{ tvdb_ep_air_date|truncate(10, True, '') }}
It always outputs
2017-06-13 00:00:00
instead of2017-06-13
If I test it at http://jinja2test.tk/, then it will truncate it correctly.
Any ideas?
Thanks!
Posts: 3
Participants: 2