mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
Merge pull request #5420 from logseq/enhance/graph-parser-part-four
Enhance: Finish up graph-parser
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
[goog.object :as gobj]
|
||||
[promesa.core :as p]
|
||||
[rum.core :as rum]
|
||||
[logseq.graph-parser.config :as gp-config]
|
||||
[frontend.mobile.util :as mobile-util]))
|
||||
|
||||
(defonce ^:large-vars/data-var state
|
||||
@@ -1007,15 +1008,7 @@
|
||||
|
||||
(defn get-date-formatter
|
||||
[]
|
||||
(or
|
||||
(when-let [repo (get-current-repo)]
|
||||
(or
|
||||
(get-in @state [:config repo :journal/page-title-format])
|
||||
;; for compatibility
|
||||
(get-in @state [:config repo :date-formatter])))
|
||||
;; TODO:
|
||||
(get-in @state [:me :settings :date-formatter])
|
||||
"MMM do, yyyy"))
|
||||
(gp-config/get-date-formatter (get-config)))
|
||||
|
||||
(defn shortcuts []
|
||||
(get-in @state [:config (get-current-repo) :shortcuts]))
|
||||
|
||||
Reference in New Issue
Block a user