                                                 (duration 50)
                                                 (style "opacity" 0.9))
                                             (.. div
-                                                (html (.-date d)))))
+                                                (html (ct/to-local-date (.-date d))))))
                                       (on "mouseout"
                                           (fn [d]
                                             (.. div

(def height 400)

(defn- compute-date [week day]
  (let [dow (- 7 (ct/day-of-week (ct/now)))]
    (-> (ct/ago (ct/weeks (- 52 week)))
        (ct/minus (ct/days (-  (- 6 day) dow))))))

(defn- cal-grid []
  (let [weeks 53

            [re-frame.core :as re-frame]
            [client.components.activity.handlers]
            [client.components.activity.subs]
            [cljs-time.core :as t]
            [cljs-time.coerce :as ct]
            [cljs-time.periodic :refer [periodic-seq]]
            [common.util :refer [log js-log]]))

