juxt

p-himik 2020-02-19T08:44:28.031Z

Seems like the https://juxt.pro/radar.html page is broken.

šŸ‘ 2
Lu 2020-02-19T08:49:44.032Z

Thanks for flagging! We are on the process of killing/reworking a few pages :)

grounded_sage 2020-02-19T10:27:06.033700Z

Iā€™m having a bit of trouble finding a parse function in juxt/tick I have a date string like this. ā€œ`20091127"` which I want to convert into a proper date.

grounded_sage 2020-02-19T10:34:26.034200Z

Looking for the equivalent of this from clj-time

(f/parse custom-formatter "20100311")
=> #<DateTime 2010-03-11T00:00:00.000Z>

tmt 2020-02-19T11:02:22.041Z

Hey there, internally we use an interface IParseable which just uses a regex to split up the string and pass the ints to the relevant constructors (https://github.com/juxt/tick/blob/1e14333e3ce142dd3eebb0cca9449a980a924f1e/src/tick/core.cljc#L117). We don't provide a method to create a IParseable instance from a string, so i think the easiest way to read that string in is splice in dashes at the relevant points and then just pass it to tick/parse. There's a parser in there yy yy-mm-dd which is basically what you need.