Open WorldsEndless opened 6 years ago
(timec/year (timec/from-utc-time-zone (js/Date.))) ; =>118
I think this is because your js/Date is a javascript date, not a goog.date one, and the getYear function for js/Date has this issue.
js/Date
goog.date
(-> (js/Date.) (.getYear)) ; => 118 (-> (timec/now) timec/from-utc-time-zone timec/year) ; => 2018
(timec/year (timec/from-utc-time-zone (js/Date.))) ; =>118