Jinja filters

In addition to the build-in Jinja filters Atfinity defines more useful filters you can use in your templates:

Name
Description

value_or_nothing

Returns nothing if there is no value

format_date

format a date with the given format, e.g. {{p.date_of_birth | format_date('DD/YYYY')}}

format_date_speaking

format a date with a speaking format D. MMMM YYYY

yes_or_nothing

"Yes" for True and nothing for False

yes_or_no

"Yes" for True and "No" for False

yyyymmdd

Converts a date to the yyyymmdd format

skip_digits

Remove digits from a string

extract_digits

Only displays digits from a string

is_known

True is the RuLa evaluation return something

is_unknown

True is the RuLa evaluation return nothing or was unknown

Last updated