diff --git a/common/src/app/common/time.cljc b/common/src/app/common/time.cljc index 89358dfb78..62f5551589 100644 --- a/common/src/app/common/time.cljc +++ b/common/src/app/common/time.cljc @@ -426,3 +426,8 @@ :encode/json format-duration ::oapi/type "string" ::oapi/format "duration"}}))) + +#?(:cljs + (extend-protocol cljs.core/IEncodeJS + js/Date + (-clj->js [x] x))) \ No newline at end of file