private function formatDateTimeErrors(array $errors)
    {
        $formattedErrors = [];

        foreach ($errors as $pos => $message) {
            $formattedErrors[] = sprintf('at position %d: %s', $pos, $message);
        }

        return $formattedErrors;
    }
private function formatDateTimeErrors(array $errors)
    {
        $formattedErrors = [];

        foreach ($errors as $pos => $message) {
            $formattedErrors[] = sprintf('at position %d: %s', $pos, $message);
        }

        return $formattedErrors;
    }
private function formatDateTimeErrors ( array $ errors ) { $ formattedErrors = [ ] ; foreach ( $ errors as $ pos => $ message ) { $ formattedErrors [ ] = sprintf ( 'at position %d: %s' , $ pos , $ message ) ; } return $ formattedErrors ; }
Formats datetime errors.

@return string[]
Formats datetime errors .