Fix date parsing.