Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-1301

Add JS helper function for outputing Date-based arrays

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • JavaScript View Server
    • New Contributors Level (Easy)

    Description

      I often output Date-based arrays [2011, 9, 3, 7, 14, 10] when building MapReduce queries. It's such a common pattern, that I'd find it very helpful to have this built into CouchDB (and ideally JavaScript! ).

      I've written up the function to handle this at https://gist.github.com/1259891

      Please consider it for inclusion into the share/server folder, so it can be available for everyone. It's such a common pattern that I think it makes sense for it to be part of the core distribution.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bigbluehat Benjamin Young
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: