   curTime.getDay()
 
 prevDay = getCurrentDay()
+
+getCurrentDate = ->
+  curTime = new Date()
+  curTime.setTime(curTime.getTime() + (curTime.getTimezoneOffset() + 240) * 60000)
+  curTime.getDate()
+
+getCurrentMonth = ->
+  curTime = new Date()
+  curTime.setTime(curTime.getTime() + (curTime.getTimezoneOffset() + 240) * 60000)
+  curTime.getMonth() + 1
+
+prevMonth = getCurrentMonth()
 
 getStyleByProgress = (progress) ->
   switch progress

        clearQuestRecord task.id
        tasks[idx] = Object.clone(emptyTask)
      if task.type is 3 and curDay is 1
        clearQuestRecord task.id
        tasks[idx] = Object.clone(emptyTask)
      tasks = _.sortBy tasks, (e) -> e.id

        detail:
          tasks: tasks
      window.dispatchEvent event
    prevMonth = curMonth
    prevDay = curDay
  handleTaskInfo: (e) ->
    {tasks} = e.detail
