Skip to content
Snippets Groups Projects
Commit 2bb6bb63 authored by Cam Saul's avatar Cam Saul
Browse files

Various bits of refactoring & cleanup

parent 8223ad4a
No related branches found
No related tags found
No related merge requests found
......@@ -131,7 +131,7 @@
(formatted this false))
([{:keys [value base-type]} _]
(cond
(instance? Timestamp value) (cast-as-date (u/date->yyyy-mm-dd value))
(instance? Timestamp value) (cast-as-date `(Timestamp/valueOf ~(.toString value))) ; prevent Clojure from converting this to #inst literal, which is a util.date
(= base-type :UUIDField) (java.util.UUID/fromString value)
:else value))))
......
......@@ -757,10 +757,7 @@
;; There were 9 "sad toucan incidents" on 2015-06-02
(datasets/expect-with-datasets #{:h2 :postgres :mysql}
(datasets/dataset-case
:h2 9
:postgres 9
:mysql 10) ; not sure exactly these disagree
9
(Q dataset sad-toucan-incidents
of incidents
filter and > timestamp "2015-06-01"
......
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