From eba2ff7d8d028a9b2699904cad5bd3bfab0a7fe1 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 30 Jul 2025 15:52:11 +0200 Subject: [PATCH] :sparkles: Add impl for Inst protocol for FileTime class --- common/src/app/common/time.cljc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/app/common/time.cljc b/common/src/app/common/time.cljc index 12d9ddf750..10e8702d73 100644 --- a/common/src/app/common/time.cljc +++ b/common/src/app/common/time.cljc @@ -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)))