clj-commons

hlship 2023-02-25T20:35:37.604679Z

Back from the dead(?). clojure-humanize now has a deps.edn build and a new snapshot release on Clojars. https://github.com/trhura/clojure-humanize

borkdude 2023-02-25T20:38:42.534749Z

@hlship Did you mean to post this in #releases or #announcements or is the library maintained under clj-commons? Regardless, welcome back to the undead zombie library!

borkdude 2023-02-25T20:39:17.869089Z

It would be great to move away from clj-time as well in favor of direct java.time interop in the future :)

hlship 2023-02-25T20:39:24.965229Z

I believe the library is clj-commons, and there's been some work to bring it up to date.

hlship 2023-02-25T20:40:04.782239Z

So this seems like a place to dsicuss. I'd put the 0.3 release in #announcements

borkdude 2023-02-25T20:40:18.319679Z

I don't quite understand. The repo doesn't seem to be under clj-commons nor does the library coordinate have something to do with clj-commons... right?

hlship 2023-02-25T20:40:19.468389Z

I don't think the lib needs its own slack channel.

hlship 2023-02-25T20:41:21.612099Z

Sorry, still weathering a cold. I got "clojure.contrib" and clj-commons confused. Yes, the lib is that old and largely unmaintained for the last few years.

borkdude 2023-02-25T20:41:37.651689Z

No worries :)

hlship 2023-02-25T20:43:03.950079Z

But the original author has "signed out" (no longer does Clojure work), so now's an opportunity to bring it under clj-commons.

borkdude 2023-02-25T20:44:11.307759Z

and I assume you are willing to be a maintainer? then I think yeah, it makes sense probably

borkdude 2023-02-25T20:45:14.175369Z

I would volunteer to do the work getting rid of clj-time in favor of java.time :) (then the lib would hopefully work in bb too)

hlship 2023-02-25T20:53:49.880909Z

It's a Clojure/Script library, so there may be some effort to make date/time functionality work in the browser.

hlship 2023-02-25T20:54:36.054459Z

https://github.com/clj-commons/meta/issues/72

borkdude 2023-02-25T21:28:19.838999Z

the CLJS side is handled by a bespoke CLJS library, clj-time is only JVM

Chris Oakman 2023-03-05T18:17:40.555149Z

PR to convert from using clj-time to cljc.java-time: https://github.com/trhura/clojure-humanize/pull/31

👍🏻 1
seancorfield 2023-02-27T18:02:41.228739Z

Also clj-time has been deprecated for a long time @hlship Myself and the other maintainers have been trying to "encourage" everyone to move off to either Java Time directly or something like cljc.java-time which is portable across ClojureScript and Clojure.

hlship 2023-02-27T18:04:00.390089Z

I'm all for bringing it up to modern standards.

👍🏻 1
hlship 2023-02-27T18:53:15.612379Z

The code is still with an "alpha" version number (0.3 currently), so I don't see a problem with some breaking changes along with a move to an new organization. The old versions will be available indefinitely.