API/BUG: return np.nan rather than -1 for invalid datetime accessors values (GH8689)
Merge pull request #8695 from jreback/danger

API/BUG: return np.nan rather than -1 for invalid datetime accessors values (GH8689)