Hello,
IM reading from a api and try to convert the data object to a datetime string like this :
(ns toy-project1.subs
(:require
[re-frame.core :as re-frame]
[cljs-time.coerce :as timec]))
(re-frame/reg-sub
::time
(fn [db] (timec/to-string (timec/from-long (* 1000 (get-in db [:weather :current :dt]))))))
but now I see that the code displays 19:21 where the real timeis 20:21.
Is there a way I can solve this ?
Roelof