mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
feat(dynamic-variables): add dynamic variables to both templates
and macros.
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
[cljs-bean.core :as bean]
|
||||
[frontend.util :as util]
|
||||
[clojure.string :as string]
|
||||
[goog.object :as gobj]))
|
||||
[goog.object :as gobj]
|
||||
["chrono-node" :as chrono]))
|
||||
|
||||
(defn nld-parse
|
||||
[s]
|
||||
(when (string? s)
|
||||
((gobj/get chrono "parseDate") s)))
|
||||
|
||||
(defn format
|
||||
[date]
|
||||
|
||||
Reference in New Issue
Block a user