Fork me on GitHub

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. Porter21:01:09

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.


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