Add function for parsing ISO 8601 dates