juxt 2022-11-07

Is there a tick equivalent for clj-time's in-seconds and in-minutes for intervals? I can't seem to find a direct corresponding fn.

tick/minutes and tick/seconds operate on a duration rather than an interval, so you can just make your interval a duration before passing it through:

(t/minutes (t/duration my-interval))

❤️ 1