Carmine appender: reconstitute :instant as Date rather than Long

This commit is contained in:
Peter Taoussanis 2013-12-02 16:01:48 +07:00
parent 8e5329e79f
commit 2a303ef2af
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@
(partition 2) ; Reconstitute :level, :instant keys:
(reduce (fn [v [entry-hash score]]
(conj v {:level level
:instant (car/as-long score)
:instant (java.util.Date. (-> score car/as-long long))
:hash entry-hash}))
[]))