Custom filters - Fluid Topics - Latest

Jinja Connector Reference Guide

Category
Reference Guides
Audience
public
Version
Latest

It is possible to implement the following custom filter within the Jinja connector to extend the engine's capabilities.

  • format_date (input_format, output_format):

{{ data.my_date }}
1980-10-22T13:24:45:45454
{{ data.my_date[:10]|format_date('%Y-m%-%d', '%d/%m/%Y') }}
22/10/1980