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 null
timeFormat

Time format filter

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

Date time format filter

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

Number format filter

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