Very nice!

On Monday, 12 January 2015 21:43:08 UTC, zirkonit wrote:
>
> A tiny library, my first open-source Clojure release. Removes some 
> head-scratching when formatting dates (is it yyyy or YYYY? or YYY?) by 
> building date format strings automatically based on a sample. For example:
>
> (dformat date "March 1, 1999")       ;; "June 9, 2011"
> (dformat date "Jan 1, 1999")         ;; "Jun 9, 2011"
> (dformat date "Jan 01")              ;; "Jun 09"
> (dformat date "Sunday, May 1, 2000") ;; "Thursday, June 9, 2011"
> (dformat date "Sun Aug 5")           ;; "Thu Jun 9"
> (dformat date "12/31/99")            ;; "06/09/11"
> (dformat date "DOB: 12/31/2000")     ;; "DOB: 06/09/2011"
> (dformat date "March 15, 1999")      ;; "June 09, 2011"
>
>
> https://github.com/zirkonit/dformat
>
> All comments are welcome!
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to