Java.time

Support more primitive data types such as:

  • java.time.Instant
  • java.time.LocalDate
  • java.time.LocalTime

Currently we are encoding them as strings and serialization / deserialization them in queries and rules.
https://wiki.c2.com/?StringlyTyped

Related Feature Request
https://portal.feedback.eu.pendo.io/app/#/case/17713

1 Like

Actually I believe datetime is already stored as instant, but what makes be boring that java library requires to pass/returns old java.util.Date

1 Like

The error I get is related to transit not being able to encode an instance of Instant. See also https://github.com/metosin/muuntaja/issues/92 which includes a link to https://clojureverse.org/t/migrating-from-clj-time-to-java-time/3251/6