progress on new report
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user