correct location parameters in parse_date