mirror of
https://github.com/penpot/penpot.git
synced 2025-07-24 03:37:37 +02:00
🐛 Fix unexpected exception on time equiv impl.
This commit is contained in:
parent
2aeded1940
commit
1d174a4379
3 changed files with 13 additions and 16 deletions
|
@ -106,11 +106,15 @@
|
|||
(extend-protocol IEquiv
|
||||
DateTime
|
||||
(-equiv [it other]
|
||||
(.equals it other))
|
||||
(if other
|
||||
(.equals it other)
|
||||
false))
|
||||
|
||||
Duration
|
||||
(-equiv [it other]
|
||||
(.equals it other)))
|
||||
(if other
|
||||
(.equals it other)
|
||||
false)))
|
||||
|
||||
(extend-protocol Inst
|
||||
DateTime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue