BUG: pd.to_datetime doesn't raises AttributeError with specific input…
- [x] closes #12424
- [x] tests added / passed
- [ ] passes `git diff upstream/master | flake8 --diff`
- [x] whatsnew entry

…s when errors='ignore'(#12424)
