cljs-time
cljs-time copied to clipboard
Handle nano-second precision
(coerce/to-date "2018-03-08T09:46:48+01:00")
;; => #inst "2018-03-08T08:46:48.000-00:00"
;; Yay!
(coerce/to-date "2018-03-08T09:46:48.7833333+01:00")
;; => nil
;; Nai!
In this case, replacing coerce/to-date
with js/Date.
worked just fine