This should be `throw new Exception\InvalidArgumentException("Invalid input date '{$value}'", 0, $ex);` to throw the exception of `DateTime` as previous exception