juxt

bortexz 2022-01-19T21:17:32.001900Z

I was trying out tick, specifically this example:

microsecond - Give the microsecond of an instant:

(t/microsecond (t/now))
in JVM I am getting:
class java.time.ZonedDateTime cannot be cast to class java.time.LocalTime
Would this be the correct channel for tick questions? I might have more as I play with it 😅

R.A. Porter 2022-01-19T21:23:09.003200Z

Huh. Yeah. That seems a problem. You can change to (t/microsecond (t/new-time)) and it'll work on the JVM. Not sure about CLJS.

bortexz 2022-01-19T22:00:32.003300Z

This made it work for t/now, though I have other scenarios where I have Java.time.Instant ’s and it fails.