Recently, a (very small) number of people have noticed it on github, so I figured it's time to announce it here.
Cljs-time is a crude attempt at replicating some of the functionality in clj-time. This is not a drop-in clojurescript replacement for clj-time, but if you're used to the clj-time API (and like it), then cljs-time can do most of what clj-time does.
It's currently leaning on the Google Closure goog.date library for basic date/time functionality. The date objects in this library are mutable, however any operations that alter a date object return a copy, leaving the referenced date object alone.
Github: https://github.com/andrewmcveigh/cljs-time
API Docs (generated): http://andrewmcveigh.github.io/cljs-time/uberdoc.html
Bug reports, pull-requests, general comments, and criticism all graciously accepted.
Cheers,
Andrew
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.
I definitely found this useful for some date formatting with om. It was the first thing I found that looked suitable, and I was able to get it working quickly.On Wed, Apr 23, 2014 at 9:57 AM, Ray Miller <r...@1729.org.uk> wrote:On 23 April 2014 14:41, Andrew Mcveigh <m...@andrewmcveigh.com> wrote:I'm one of those people, and have found this library useful. Thank you!
> A while back I started cljs-time, a ClojureScript rip-off of the clj-time library.
>
> Recently, a (very small) number of people have noticed it on github, so I figured it's time to announce it here.
Ray.
It would be mega awesome if this clj-time was just a CLJX project so we could just depend on one library instead of two. Have you thought about asking the maintainers of clj-time their thoughts wrt to that?
You received this message because you are subscribed to a topic in the Google Groups "ClojureScript" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojurescript/O158sMEnJjg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojurescrip...@googlegroups.com.