Corrections in date parsing