Fork me on GitHub
#juxt
<
2016-11-11
>
imre16:11:56

hey all, does anyone have experience storing java.time.* data in datomic? stuff like LocalDate YearMonth LocalTime etc.

imre16:11:47

I really only see 2 options: 1. convert to and from the inferior java.util.Date that is supported, feel good that the db type is the closest to what is being represented, but face unforseen consequences around date magic 2. convert to and from a proper sortable ISO string, feel good that the data in the db is of the exact precision needed but feel bad that I'm not using a date/time related db type

imre16:11:05

I'm currently leaning toward 2