mirror of
https://github.com/status-im/timbre.git
synced 2025-02-16 21:56:21 +00:00
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:
|
(partition 2) ; Reconstitute :level, :instant keys:
|
||||||
(reduce (fn [v [entry-hash score]]
|
(reduce (fn [v [entry-hash score]]
|
||||||
(conj v {:level level
|
(conj v {:level level
|
||||||
:instant (car/as-long score)
|
:instant (java.util.Date. (-> score car/as-long long))
|
||||||
:hash entry-hash}))
|
:hash entry-hash}))
|
||||||
[]))
|
[]))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user