Skip to content
Snippets Groups Projects
Commit eee6f266 authored by Simon Belak's avatar Simon Belak
Browse files

add nil guard

parent 69da2dc5
Branches
Tags
No related merge requests found
......@@ -504,7 +504,7 @@
{:histogram-hour (redux/pre-step
h/histogram-categorical
;; TOFIX: this is an ugly workaround
#(when (not (instance? java.sql.Date %))
#(when (and % (not (instance? java.sql.Date %)))
(.getHours ^java.util.Date %)))})))
(merge-juxt
histogram-extractor
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment