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

Fix getter for dates with unit=year

parent a595d32d
No related merge requests found
......@@ -171,7 +171,7 @@
;; unit=year workaround. While the field is in this case marked as :type/Text,
;; at this stage in the pipeline the value is still an int, so we can use it
;; directly.
(comp (stats/somef ms->day) #(nth % x-position)))]
#(some-> % (nth x-position) t/date-time t.coerce/to-long ms->day))]
(apply redux/juxt
(for [number-col numbers]
(redux/post-complete
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment