switching to use real dates.
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user