in common_landings.js [5:17]
function dropdownDateToDaysDiff(val) {
if (val === "one day") {
return 1;
} else if (val === "two days") {
return 2;
} else if (val === "three days") {
return 3;
} else if (val === "a week") {
return 7;
}
throw new Exception("Unknown value " + val);
}