couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ishi soichi <soichi...@gmail.com>
Subject Re: view ordered by DateTime
Date Fri, 04 Jan 2013 10:43:48 GMT
Thanks! It worked.

soichi

2013/1/4 Simon Metson <simon@cloudant.com>

>   date = new Date(Date.parse(doc.date));
>   emit([date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDay(),
> date.getUTCHours(), date.getUTCMinutes()], doc.text);
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message