BUG: Resolve passing datetime strings of the form "1-01-01 00:00:00"
- [x] closes #37071 
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry
