♻️ Refactor time related namespaces

Mainly removes the custom app.util.time namespace
from frontend and backend and normalize all to use
the app.common.time namespace
This commit is contained in:
Andrey Antukh
2025-07-23 09:47:16 +02:00
parent 9a0c36c442
commit 283eb0419c
133 changed files with 1272 additions and 1560 deletions

View File

@@ -7,6 +7,7 @@
(ns backend-tests.rpc-comment-test
(:require
[app.common.geom.point :as gpt]
[app.common.time :as ct]
[app.common.uuid :as uuid]
[app.db :as db]
[app.http :as http]
@@ -14,7 +15,6 @@
[app.rpc.commands.comments :as comments]
[app.rpc.cond :as cond]
[app.rpc.quotes :as-alias quotes]
[app.util.time :as dt]
[backend-tests.helpers :as th]
[clojure.test :as t]
[datoteka.fs :as fs]
@@ -78,7 +78,7 @@
(let [{:keys [result] :as out} (th/command! data)]
(t/is (th/success? out))
(t/is (dt/instant? (:modified-at result))))
(t/is (ct/inst? (:modified-at result))))
(let [status' (th/db-get :comment-thread-status
{:thread-id (:id thread)