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