Remove minute from time conditions as its better to use one of the other options.

This commit is contained in:
markjcrane
2015-07-18 12:20:09 -07:00
parent 1bc779aed2
commit 969c6c6d77

View File

@@ -562,7 +562,7 @@ require_once "resources/header.php";
$time_condition_vars["week"] = $text['label-week-of-year'];
$time_condition_vars["mweek"] = $text['label-week-of-month'];
$time_condition_vars["hour"] = $text['label-hour-of-day'];
$time_condition_vars["minute"] = $text['label-minute-of-hour'];
//$time_condition_vars["minute"] = $text['label-minute-of-hour'];
//$time_condition_vars["minute-of-day"] = $text['label-minute-of-day'];
$time_condition_vars["time-of-day"] = $text['label-time-of-day'];
$time_condition_vars["date-time"] = $text['label-date-and-time'];
@@ -685,13 +685,6 @@ require_once "resources/header.php";
}
break;
case 'minute': //minutes of hour
for (m = 0; m <= 59; m++) {
sel_start.options[sel_start.options.length] = new Option(pad(m, 2), m); //pad function defined below
sel_stop.options[sel_stop.options.length] = new Option(pad(m, 2), m);
}
break;
case 'time-of-day': //time of day
for (h = 0; h <= 23; h++) {
for (m = 0; m <= 55; m += 5) {