switching to use real dates.

This commit is contained in:
Bryce Covert
2018-04-12 22:33:57 -07:00
parent e1e0835bee
commit 056bfc38a4
8 changed files with 64 additions and 19 deletions

View File

@@ -25,10 +25,12 @@
(def pretty (format/formatter "MM/dd/yyyy"))
(defn date->str [d]
(format/unparse pretty d))
(when d
(format/unparse pretty d)))
(defn date-time->str [d]
(format/unparse pretty-long d))
(when d
(format/unparse pretty-long d)))