Content Management System

Template Filters

Twig template filters

dateFormat

Date format filter

{{ timestamp|dateFormat(formatName) }}
Property Type Description Default
formatName string|null optinal Format name
timeFormat

Time format filter

{{ timestamp|timeFormat(formatName) }}
Property Type Description Default
formatName string|null optinal Format name
dateTimeFormat

Date time format filter

{{ timestamp|dateTimeFormat(formatName) }}
Property Type Description Default
formatName string|null optinal Format name
numberFormat

Number format filter

{{ number|numberFormat(formatName) }}
Property Type Description Default
formatName string|null|array optinal Format name