         setTime={_.partial(@setTime, 'due')}
         value={due_date}
         defaultValue={due_time or defaults.due_time}
-        defaultTime={defaults.due_time}
+        defaultTime={default_due_time}
         setDefaultTime={@setDefaultTime}
         timeLabel='default_due_time'
         isSetting={@isSetting}

        setTime={_.partial(@setTime, 'open')}
        value={ openDate }
        defaultValue={open_time or defaults.open_time}
        defaultTime={defaults.open_time}
        setDefaultTime={@setDefaultTime}
        timeLabel='default_open_time'
        isSetting={@isSetting}

    model = if period then period else Courses.get(courseId)
    _.assign(model, timeChange)
    model.save()
    @forceUpdate()

  isSetting: ->
    {courseId} = @props
