extend date conversion to more fields.