Fork me on GitHub
#juxt
<
2022-11-07
>
Casey08:11:04

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.

tomd09:11:08

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