couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Shorin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1301) Add JS helper function for outputing Date-based arrays
Date Mon, 01 Jul 2013 11:34:22 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-1301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexander Shorin updated COUCHDB-1301:
--------------------------------------

    Component/s: JavaScript View Server
    
> Add JS helper function for outputing Date-based arrays
> ------------------------------------------------------
>
>                 Key: COUCHDB-1301
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1301
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: JavaScript View Server
>            Reporter: Benjamin Young
>              Labels: views
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message