Fork me on GitHub
#datalevin
<
2022-02-12
>
Norman Kabir19:02:22

I'm very interested in Datalevin and am working through the examples on http://www.learndatalogtoday.org/ I have the following. My query does not return any dates before 1970. I'm surprised by this behavior. How do I access this data? Does this behavior affect other data types?

user=> (d/transact! conn [{:db/id -1 :person/name "Bob Smith" :person/born #inst "1969-01-01"}])

user=> (d/q '[:find ?e ?born :where [?e :person/born ?born]] db)
#{[3 #inst "1972-12-19T00:00:00.000-00:00"]
  [4 #inst "1970-01-01T00:00:00.000-00:00"]}