more robust date creationg from ISO strings of varying formats