couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Metson <si...@cloudant.com>
Subject Re: view ordered by DateTime
Date Fri, 04 Jan 2013 10:47:52 GMT
Great :) 


On Friday, 4 January 2013 at 10:43, ishi soichi wrote:

> Thanks! It worked.
> 
> soichi
> 
> 2013/1/4 Simon Metson <simon@cloudant.com (mailto:simon@cloudant.com)>
> 
> > date = new Date(Date.parse(doc.date));
> > emit([date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDay(),
> > date.getUTCHours(), date.getUTCMinutes()], doc.text);
> 




Mime
View raw message