Fixed date parsing error