Fix date specification accepted by parse_date().