makes cloud search possible.

This commit is contained in:
2023-05-04 17:07:08 -07:00
parent 2bb1da1636
commit b200728c6a
30 changed files with 1308 additions and 451 deletions

View File

@@ -14,9 +14,16 @@
(def normal-date "MM/dd/yyyy")
(def iso-date "yyyy-MM-dd")
(def solr-date "yyyy-MM-dd'T'HH:mm:ss'Z'")
(def standard-time "MM/dd/yyyy hh:mm aa")
(defn parse-utc [v format]
(try
(f/parse (f/formatter format) v)
(catch Exception _
nil)))
(defn parse [v format]
(try
(time/from-time-zone (f/parse (f/formatter format) v)