         width = element.width()
         element.height(width / 2)
 
+        today = ->
+            moment().hour(0).minute(0)
+
         days = _.map([27..0], (x) ->
-            moment().hour(0).minute(0).subtract('days', x)
+            today().subtract('days', x)
         )
         data = []
         for d in _.values(dataToDraw)

        options =
            xaxis:
                tickSize: [1, "day"],
                min: moment().subtract('days', 27),
                max: moment(),
                mode: "time",
                daysNames: days,
                tickLength: 0

        width = element.width()
        element.height(width / 2)

        today = ->
            moment().hour(0).minute(0)

        days = _.map([27..0], (x) ->
            today().subtract('days', x)
        )
        data = [
            {
