♻️ 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,10 +7,10 @@
(ns backend-tests.rpc-audit-test
(:require
[app.common.pprint :as pp]
[app.common.time :as ct]
[app.common.uuid :as uuid]
[app.db :as db]
[app.rpc :as-alias rpc]
[app.util.time :as dt]
[backend-tests.helpers :as th]
[clojure.test :as t]
[yetti.request]))
@@ -46,7 +46,7 @@
:route "dashboard-files"}
:context {:engine "blink"}
:profile-id (:id prof)
:timestamp (dt/now)
:timestamp (ct/now)
:type "action"}]}
params (with-meta params
@@ -79,7 +79,7 @@
:route "dashboard-files"}
:context {:engine "blink"}
:profile-id uuid/zero
:timestamp (dt/now)
:timestamp (ct/now)
:type "action"}]}
params (with-meta params
{:app.http/request http-request})