 BS = require 'react-bootstrap'
 
 {Calendar, Month, Week, Day} = require 'react-calendar'
+{TimeStore} = require '../../flux/time'
 
 CourseCalendarHeader = require './header'
 CourseDuration = require './duration'

    router: React.PropTypes.func

  getInitialState: ->
    date: @props.startDate or moment()
    activeAddDate: null

  setDate: (date) ->

    while durationDays.hasNext()
      dayIter = durationDays.next()

      if dayIter.isAfter(referenceDate, 'day')

        modifiers =
          upcoming: true
