Fork me on GitHub
#juxt
<
2022-09-21
>
rende1119:09:08

Why I cannot format tick/instant?

imre19:09:01

My gut feeling is that you need to provide a timezone somehow

rende1119:09:16

(tick/format (tick/formatter "yyyy") (tick/instant (tick/in (tick/date-time "2022-09-08T20:26") (tick/zone))))
Like this? It doesn't works

imre19:09:39

Does this work? (tick/format :iso-instant (tick/instant))

imre19:09:58

And does this? (tick/formatter "yyyy")

rende1120:09:44

Oh, looks like I found something useful )

imre20:09:44

ah, that is really nice!