Fix date order in parsing.