Fixing (hopefully) and DRYing some DateTime parsing