Parsing invalid dates return undefined now (#324)