fix date.from_string()