TST: Use ISO8601 format for DTI partial slicing
Merge pull request #7290 from sinhrks/gh7289

TST: Use ISO8601 format for DTI partial slicing
BUG: resample raises ValueError when NaT is included