BUG: catch overflow of nominator in datetime conversions

closes gh-4486
DOC: Document fix for gh-4486.
Merge pull request #4525 from charris/backport-1.8-gh-4518

Backport 1.8 gh 4518