               day.day -7 + weekDay  ## previous week
             else
               day.day weekDay  ## same week
+          when 'hour'
+            day = moment(msg.created).startOf unit
+            .year 2000
+            .dayOfYear 1
           else
             day = moment(msg.created).startOf unit
         if lastDate?
           if lastDate.valueOf() > day.valueOf()
-            console.warn "Backwards time travel from #{lastDate} to #{day}"
+            console.warn "Backwards time travel from #{lastDate.format()} to #{day.format()}"
             lastDate = day
             makeDay()
           else

      weekDay = weekStart()
    format =
      switch unit
        when 'day', 'week'
          'ddd, MMM DD, YYYY' #'YYYY-MM-DD'
        when 'month'

        stats.labels.push lastDate.format format
        for dataset in stats.datasets
          dataset.data.push 0
      msgs = Messages.find stats.query.call(t)
      ,
        fields:
          created: true
