ENH: Added support for datetime arrays in __array_struct__.

Resolves issue #5350.