Skip to content

Commit 4770c03

Browse files
committed
Adding support for uuid
1 parent af5c266 commit 4770c03

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lambdaisland/deep_diff/printer.cljc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
(format ".%09d-00:00" (.getNanos ^Timestamp %)))
7373
:cljs (fn [input-date]
7474
(let [dt (from-date input-date)]
75-
(cljs-time.format/unparse thread-local-utc-timestamp-format dt))))))
75+
(cljs-time.format/unparse thread-local-utc-timestamp-format dt)))))) ;;TODO format ".%09d-00:00"
7676

7777
(def ^:private print-calendar
7878
(puget/tagged-handler
@@ -136,8 +136,8 @@
136136
;; 'java.sql.Timestamp
137137
;; print-timestamp
138138

139-
#?(:clj java.util.UUID
140-
:cljs uuid?)
139+
#?(:clj 'java.util.UUID
140+
:cljs 'cljs.core.uuid)
141141
(tagged-handler 'uuid str)}
142142

143143
(defn- print-handler-resolver [extra-handlers]

0 commit comments

Comments
 (0)