BUG: Bug in resample with a timezone and certain offsets (GH6397)

closes #6397