adds the ability to use clj-time literals elsewhere.
This commit is contained in:
5
src/clj/auto_ap/time_reader.clj
Normal file
5
src/clj/auto_ap/time_reader.clj
Normal file
@@ -0,0 +1,5 @@
|
||||
(ns auto-ap.time-reader)
|
||||
|
||||
(defmethod print-dup org.joda.time.DateTime
|
||||
[^org.joda.time.DateTime d out]
|
||||
(.write out (str "#=" `(org.joda.time.DateTime. ~(.getMillis d)))))
|
||||
Reference in New Issue
Block a user