mirror of https://github.com/status-im/timbre.git
Carmine appender: reconstitute :instant as Date rather than Long
This commit is contained in:
parent
8e5329e79f
commit
2a303ef2af
|
@ -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}))
|
||||
[]))
|
||||
|
||||
|
|
Loading…
Reference in New Issue