BUG: fix crash when using arange on datetime without dtype set
Merge pull request #5225 from juliantaylor/datetime-arange-crash

BUG: fix crash when using arange on datetime without dtype set