Fork me on GitHub
#asami
<
2021-10-16
>
bocaj15:10:52

I’m using version 2.2.0, and (a/as-of db (Instant/now)) throws “Unable to retrieve database for datatype class java.time.Instant”. However this works (a/as-of db (java.util.Date.)) . Should I make sure to use java.util.Date or is this unexpected?

quoll17:10:18

I probably just supported Dates without thinking. I’ll try to fix it quickly

👍 1
bocaj22:10:55

I was following along with your excellent strangeloop talk, and could get this slide's code to work. I think its reasonable to ask me the user to coerce to java.util.date, but java.time Instant would be convenient.

quoll23:10:01

OK, I see what I did. I mixed myself up thinking of instants, because Clojure “instants” are actually java.util.Date values. But the instant datatype is supported in storage. “Instant” is being used with more than one meaning, and appears in various places… and I got myself confused. A mistake on my part. This function should support both. I’m fixing it right now

quoll00:10:47

BTW, thank you for the compliment on my talk ☺️