Twig_Extension_Core::setDateFormat
Sets the default format to be used by the date filter.
Signature
public function setDateFormat([string
$format = null,
[string
$dateIntervalFormat = null]] )
Parameters
$format
— string- The default date format string
$dateIntervalFormat
— string- The default date interval format string