On Thursday, 26 June 2014 00:44:45 UTC+2, g vim wrote: > On 25/06/2014 20:05, Andrew Mcveigh wrote: > > > cljs-time, a ClojureScript rip-off of the clj-time library. > > > > > > Cljs-time is an 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 > > much of what clj-time does. > > > > I'm fairly new to Clojure(script) and have used clj-time. What's the use > > for cljs-time if Clojurescript is based on Clojure/JVM and has access to > > clj-time? > > > > gvim
Clojurescript compiles to javascript, and so runs anywhere javascript runs (Web browser/Node.js/etc.). So cljs-time can be used in place of clj-time on clojurescript/javascript platforms. Clj-time is only for Clojure proper, on the JVM, as the backing library joda-time is Java. 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
