Fixes Error thrown when None is passed to pd.to_datetime() with format as %Y%m%d
- [ ] closes #30011 
- [x] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry `bug fix of to_datetime for pandas versions >0.24. Now the change will avoid error even when value passed None to to_datetime`

can you add a test for the behavior this fixes Updated about the issue and versions in Whats new entry row Hello @maheshbapatu! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:





There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2019-12-10 19:39:49 UTC > comments + pls add a whtasnew entry in bug fixes for 1.0.0 in datetime section

Can you please elaborate about adding a whats new entry for 1.0.0 in datetime section. This is first commit of mine in open source field. Will be elated if you could describe it in detail . @maheshbapatu For bug fixes, we include a description of what was fixed in a "whatsnew" document when the library is released. Specifically, please put the description here: https://github.com/pandas-dev/pandas/blob/master/doc/source/whatsnew/v1.0.0.rst#datetimelike > @maheshbapatu For bug fixes, we include a description of what was fixed in a "whatsnew" document when the library is released. Specifically, please put the description here: https://github.com/pandas-dev/pandas/blob/master/doc/source/whatsnew/v1.0.0.rst#datetimelike

Thanks @mroeschke got it added changes accordingly. thanks @maheshbapatu very nice Thanks a lot @jreback and everyone who helped me all the way in my first open source contribution