mirror of https://github.com/penpot/penpot.git
✨ Add impl for Inst protocol for FileTime class
This commit is contained in:
parent
283eb0419c
commit
eba2ff7d8d
|
|
@ -368,6 +368,9 @@
|
|||
Duration
|
||||
(inst-ms* [v] (.toMillis ^Duration v))
|
||||
|
||||
java.nio.file.attribute.FileTime
|
||||
(inst-ms* [v] (.toMillis ^java.nio.file.attribute.FileTime v))
|
||||
|
||||
OffsetDateTime
|
||||
(inst-ms* [v] (.toEpochMilli (.toInstant ^OffsetDateTime v)))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue