mirror of
https://github.com/penpot/penpot.git
synced 2025-06-03 11:51:39 +02:00
♻️ Internal directory refactor.
Make common as first-class module.
This commit is contained in:
parent
6a2e45988f
commit
548664f6ce
86 changed files with 801 additions and 908 deletions
|
@ -442,7 +442,7 @@
|
|||
(s/assert dt/cron? cron)
|
||||
(let [now (dt/now)
|
||||
next (dt/next-valid-instant-from cron now)]
|
||||
(inst-ms (dt/duration-between now next))))
|
||||
(inst-ms (dt/diff now next))))
|
||||
|
||||
(defn- schedule-task
|
||||
[{:keys [scheduler] :as cfg} {:keys [cron] :as task}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue