Sets the default format to be used by the date filter.
string $format The default date format string:
string $dateIntervalFormat The default date interval format string:
public function setDateFormat($format = null, $dateIntervalFormat = null) {
if (null !== $format) {
$this->dateFormats[0] = $format;
}
if (null !== $dateIntervalFormat) {
$this->dateFormats[1] = $dateIntervalFormat;
}
}