couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knodi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COUCHDB-1280) ISO8601 parsing in view
Date Wed, 14 Sep 2011 03:16:09 GMT

    [ https://issues.apache.org/jira/browse/COUCHDB-1280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104207#comment-13104207
] 

Knodi commented on COUCHDB-1280:
--------------------------------

I tried

doc.date is 2011-08-20T05:53:44Z and emit(null, Date(doc.date).toTimeString()) is causing
this error  Log :: function raised exception (new TypeError("Date(doc.date).toTimeString is
not a function", "", 3))

> ISO8601 parsing in view
> -----------------------
>
>                 Key: COUCHDB-1280
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1280
>             Project: CouchDB
>          Issue Type: New Feature
>          Components: JavaScript View Server
>    Affects Versions: 1.0.2
>         Environment: All
>            Reporter: Knodi
>            Priority: Minor
>              Labels: ISO8601, date, datetime
>
> The current js view server doesn't parse Date format ISO8601. This is a widely used date
format and date parse class should be made to parse ISO8601.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message