Fixed parse date when invalid string is passed
New version