BUG: Fix datetime components on DataArrays

We didn't have any tests, so they were broken.