TST: dateutil fixes (GH8639)

closes #8639