function addPeriod(day, start, end) {
    var program = getWeekProgram()[day];
    program.push([start, end]);
    sortMergeProgram(day);
    setWeekProgram();
}
/* Adds a heating period for a specific day
*/
Adds a heating period for a specific day
Adds a heating period for a specific day
function addPeriod(day, start, end) {
    var program = getWeekProgram()[day];
    program.push([start, end]);
    sortMergeProgram(day);
    setWeekProgram();
}
function addPeriod ( day , start , end ) { var program = getWeekProgram ( ) [ day ] ; program . push ( [ start , end ] ) ; sortMergeProgram ( day ) ; setWeekProgram ( ) ; }
Adds a heating period for a specific day
Adds a heating period for a specific day