Fixed Firefox date parsing bug