BUG: fix ValueError for byte_bounds() on datetime array
close gh-4345
Merge pull request #4414 from mosessky/master

BUG: fix issue#4354 byte_bounds() bug closes gh-4354