couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "IsoFormattedDateAsDocId" by DougShawhan
Date Fri, 25 Feb 2011 18:34:40 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "IsoFormattedDateAsDocId" page has been changed by DougShawhan.
http://wiki.apache.org/couchdb/IsoFormattedDateAsDocId?action=diff&rev1=5&rev2=6

--------------------------------------------------

      var day = parseInt(datetime.substr(8, 2), 10);
      var hour = parseInt(datetime.substr(11, 2), 10);
      var minute = parseInt(datetime.substr(14, 2), 10);
-     emit([doc.sales, doc.item, year, month, day, hour, minute], 1);
+     emit([doc.widget, year, month, day, hour, minute], 1);
  }
  }}}
  

Mime
View raw message