Fork me on GitHub

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


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


I'm currently leaning toward 2