fixes compilation bug.
This commit is contained in:
@@ -40,8 +40,7 @@
|
||||
:serialize #(or (:ident %) (:db/ident %) %)}
|
||||
:iso_date {:parse #(time/parse % time/iso-date)
|
||||
:serialize #(time/unparse % time/iso-date)}
|
||||
:money {:parse #(do
|
||||
(cond (and (string? %)
|
||||
:money {:parse #(cond (and (string? %)
|
||||
(not (str/blank? %)))
|
||||
(Double/parseDouble %)
|
||||
|
||||
@@ -63,9 +62,7 @@
|
||||
:else
|
||||
%)
|
||||
}
|
||||
:percentage {:parse #(do
|
||||
(log/info "value is" %)
|
||||
(cond (and (string? %)
|
||||
:percentage {:parse #(cond (and (string? %)
|
||||
(not (str/blank? %)))
|
||||
(Double/parseDouble %)
|
||||
|
||||
@@ -73,7 +70,7 @@
|
||||
(double %)
|
||||
|
||||
:else
|
||||
%))
|
||||
%)
|
||||
:serialize #(if (double? %)
|
||||
(str %)
|
||||
%)}}
|
||||
|
||||
Reference in New Issue
Block a user