fixed loading issue

This commit is contained in:
2023-01-10 09:41:42 -08:00
parent 1b3eff8301
commit ec4e6624b5
3 changed files with 53 additions and 37 deletions

View File

@@ -6,6 +6,9 @@
(defn localize [d]
(time/to-time-zone d (time/time-zone-for-id "America/Los_Angeles")))
(defn as-local-time [d]
(time/from-time-zone d (time/time-zone-for-id "America/Los_Angeles")))
(defn local-now []
(time/to-time-zone (time/now) (time/time-zone-for-id "America/Los_Angeles")))