ANN: cljs-time 0.1.3

115 views
Skip to first unread message

Andrew Mcveigh

unread,
Apr 23, 2014, 9:41:14 AM4/23/14
to clojur...@googlegroups.com
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.

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

Tim Visher

unread,
Apr 23, 2014, 9:46:50 AM4/23/14
to clojurescript@googlegroups.com MList
Nice! I've worked towards similar goals in my bible-plan project that
I was eventually hoping to spin off into a separate project just like
this.

Good

Tim Visher

unread,
Apr 23, 2014, 9:47:51 AM4/23/14
to clojurescript@googlegroups.com MList
Ignore that last response. :(

On Wed, Apr 23, 2014 at 9:41 AM, Andrew Mcveigh <m...@andrewmcveigh.com> wrote:
Nice! I've worked towards similar goals in my bible-plan project that
I was eventually hoping to spin off into a separate project just like
this.

Good to know I've got a place to contribute if I ever get back to
working on that project.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

Ray Miller

unread,
Apr 23, 2014, 9:57:15 AM4/23/14
to clojur...@googlegroups.com
On 23 April 2014 14:41, Andrew Mcveigh <m...@andrewmcveigh.com> wrote:
> 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.

I'm one of those people, and have found this library useful. Thank you!

Ray.

Gary Trakhman

unread,
Apr 23, 2014, 10:08:07 AM4/23/14
to clojur...@googlegroups.com
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.



--
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.

Andrew Mcveigh

unread,
Apr 23, 2014, 10:23:00 AM4/23/14
to clojur...@googlegroups.com
On 23 April 2014 16:08, Gary Trakhman <gary.t...@gmail.com> wrote:
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:
> 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.

I'm one of those people, and have found this library useful. Thank you!

Ray.


It's good to know people are actually finding it useful!

Cheers.

Joel Holdbrooks

unread,
Apr 23, 2014, 12:14:17 PM4/23/14
to clojur...@googlegroups.com
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?

Gary Trakhman

unread,
Apr 23, 2014, 12:16:57 PM4/23/14
to clojur...@googlegroups.com
CLJX-ing this sounds hard.  Clj-time is less CLJ and more Joda.


On Wed, Apr 23, 2014 at 12:14 PM, Joel Holdbrooks <cjhold...@gmail.com> wrote:
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?

Moritz Ulrich

unread,
Apr 23, 2014, 12:28:24 PM4/23/14
to clojur...@googlegroups.com
It might still be good to merge the projects, providing an at least
partially common api via two different implementations.

Andrew Mcveigh

unread,
Apr 23, 2014, 1:03:28 PM4/23/14
to clojur...@googlegroups.com
I had a look into how this could work with cljx, and TBH I think it would be a big mess due to all the Joda stuff in there.

I think it would be probably be beneficial to somehow merge the projects though, if there's the will from the clj-time maintainers.

I'll send them an email.



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.

Joel Holdbrooks

unread,
Apr 23, 2014, 1:21:08 PM4/23/14
to clojur...@googlegroups.com
Yeah, maybe not necessarily CLJX but at least a merge of the two projects.
Reply all
Reply to author
Forward
0 new messages