Revert "Restore use of dateutil"

This reverts commit b56419915b075c67b5e57590376090e8bac1e89c.