mirror of
https://github.com/penpot/penpot.git
synced 2026-04-27 04:08:23 +00:00
🐛 Add handler to correctly encode cljs dates to json
This commit is contained in:
parent
991b26b73f
commit
c1b2aa7628
@ -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)))
|
||||
Loading…
x
Reference in New Issue
Block a user