src/PeekAndPoke/Component/Formal/Mapper/SimpleDateMapper.php
public function mapFromForm($value)
    {
        if (IsDateString::isValidDateString($value)) {
            return new \DateTime($value, $this->timeZone);
        }

        return null;
    }
public function mapFromForm($value)
    {
        if (IsDateString::isValidDateString($value)) {
            return new \DateTime($value, $this->timeZone);
        }

        return null;
    }
@param mixed $value

@return mixed