diff --git a/class.section.php b/class.section.php --- a/class.section.php +++ b/class.section.php @@ -264,7 +264,7 @@ class Section */ public function to_json_array() { - static $daymap = array(0 => 'm', 1 => 't', 2 => 'w', 3 => 'u', 4 => 'f'); + static $daymap = array(0 => 'm', 1 => 't', 2 => 'w', 3 => 'h', 4 => 'f'); $json_array = array('section' => $this->letter, 'prof' => $this->prof, diff --git a/scripts/scheduleInput.js b/scripts/scheduleInput.js --- a/scripts/scheduleInput.js +++ b/scripts/scheduleInput.js @@ -158,12 +158,7 @@ function add_sections(cnum, data) for (i = data.sections.length - 1; i >= 0; i --) { section = data.sections[i]; - days = section.days; - if (days.u) - days.h = days.u; - else - days.h = false; - add_section_n(cnum, section.section, section.synonym, section.time_start, section.time_end, days, section.prof); + add_section_n(cnum, section.section, section.synonym, section.time_start, section.time_end, section.days, section.prof); } }