 
 {CourseListingActions, CourseListingStore} = require '../../../src/flux/course-listing'
 {CourseStore} = require '../../../src/flux/course'
+{TimeStore} = require '../../../src/flux/time'
+TutorDateFormat = TimeStore.getFormat()
 
 yesterday = (new Date(Date.now() - 1000 * 3600 * 24)).toString()
 tomorrow = (new Date(Date.now() + 1000 * 3600 * 24)).toString()
+dayAfter = (new Date(Date.now() + 1000 * 3600 * 48)).toString()
+
+getDateString = (value) -> moment(value).format(TutorDateFormat)
 
 COURSES = require '../../../api/user/courses.json'
 NEW_READING = ExtendBasePlan({id: "_CREATING_1", settings: {page_ids: []}})

      element.setAllPeriods()
      dueAt = TaskPlanStore.getDueAt(NEW_READING.id)
      expect(dueAt).to.be.falsy

_ = require 'underscore'
moment = require 'moment'

Builder = require '../../../src/components/task-plan/builder'
{TaskPlanActions, TaskPlanStore} = require '../../../src/flux/task-plan'
