protected function optimizeDateFields()
    {
        if (empty($this->field->dateFormat) && $this->field->isDateOrTime()) {
            $this->field->dateFormat = Config::getDateTimeFormat();
        }

        return $this;
    }