cloudant-labs/Spellbook — pull request #1 by BigBlueHat (2013-12-10 20:46:21+00:00)
Title: WIP: date-arrays using moment.js

# DON'T MERGE THIS BRANCH (yet) :warning:

@garbados this is an ongoing attempt to get moment.js to work inside of CouchDB & Cloudant. Your input would be *very* welcome.

I'm mostly interested in the `toArray()` bits of Moment.js, but obviously the others have value in both UI and `_list`/`_show` code.

Currently, there's an inline function `dateToArray` (that I wrote eons ago). It's currently in-lined...

Anyhow, let me know your thoughts. :open_book: