clj-time
A date and time library for Clojure, wrapping the Joda Time library. (by clj-time)
clojure.java-time
Java 8 Date-Time API for Clojure (by dm3)
clj-time | clojure.java-time | |
---|---|---|
1 | 4 | |
737 | 455 | |
-0.1% | - | |
10.0 | 6.0 | |
over 2 years ago | 11 days ago | |
Clojure | Clojure | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
clj-time
Posts with mentions or reviews of clj-time.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-10.
-
Don't use clj-time, use clojure.java-time instead
Not a big deal. That should be it, right? Not too soon! Turns out clj-time is a wrapper of Joda Time and the project's README says:
clojure.java-time
Posts with mentions or reviews of clojure.java-time.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-01-10.
-
Don't use clj-time, use clojure.java-time instead
Okay so clj-time is deprecated, latest version is 0.15.2. Let's try dm3/clojure.java-time. Sure enough:
-
Poor documentation?
I would advise using the java-time library by dm3, available at https://github.com/dm3/clojure.java-time
-
Problem using clojure.java-time
The name of the maven artifact is clojure.java-time but the name of the main namespace is java-time (as you can see here). Also the readme mentions (use 'java-time) so if you'd rather require instead of use (which is good practice), (:require [java-time :as t]) is the way to go.
What are some alternatives?
When comparing clj-time and clojure.java-time you can also consider the following projects:
leiningen - Moved to Codeberg; this is a convenience mirror
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
bankster - Money Creation Made Easy
fs - File system utility library for Clojure
Metabase - The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum: