I don't have one yet, but it's on my roadmap for the next three months to either write or find one for the Art Tracks project at the Carnegie Museum of Art—I also need it to work in Ruby and Javascript

- David Newbury
-----------------------------------
p. (773) 547-2272
e. [log in to unmask]

On Sun, Apr 24, 2016 at 6:48 PM, Richard Tallent <[log in to unmask]> wrote:
> On Apr 23, 2016, at 11:44 PM, Glen Barnes <[log in to unmask]> wrote:
>
> Before we go and write one has anybody published an EDTF -> Human readable library. For some
> reason I thought SFMOMA had but I can't seem to find it. We're basically wanting to convert things like
> 196x to "1960's" and 1910~ to "c1910", etc. We're looking at either doing it in the backend (Ruby) or in
> the front end (Javascript).
>
> Any pointers to implementations appreciated.

The spec has been moving around a bit, so I don’t know of any parser implementation (certainly not mine) that has caught up.

Once parsed in your language of choice, it should be straightforward to emit a human-friendly version.

—Richard