progress on new report

This commit is contained in:
2022-10-15 20:54:18 -07:00
parent 94d1ca75c0
commit 560218728f
5 changed files with 101 additions and 49 deletions

View File

@@ -1,6 +1,13 @@
(ns auto-ap.time-utils
(:require #?(:clj [clj-time.core :as time]
:cljs [cljs-time.core :as time])))
:cljs [cljs-time.core :as time])
#?(:cljs [cljs-time.format :as format]
:clj [clj-time.format :as format])))
(def pretty (format/formatter "MM/dd/yyyy"))
(defn user-friendly-date [d]
(some->> d (format/unparse pretty)))
(defn next-dom [date dom]
(when date