Fixed DateTime parser failing to throw an exception on unexpected end of string