Better error message in ruby client when parsing invalid dates