couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Coallier <david.coall...@gmail.com>
Subject Time processing difference between 0.11.0b898401 and 0.11.0b903617
Date Wed, 27 Jan 2010 18:21:03 GMT
Hey lads,

I'm suspecting a bug but before I report I was wondering if anyone was
aware of a change that would have happened between 0.11.0b898401 and
0.11.0b903617.

The problem is quite simple, I have a few on 0.11.0b898401 that pretty
much does that:

function(doc) {
  var x = new Date(1264515335 * 1000);
  emit(x, null);
}


Which outputs "2010-01-26T14:15:35Z" which is expected.

Then on the second server which is version: 0.11.0b903617 (Which is
also a replica of the first example -- continuous) if you run the same
function be it _temp or not:
function(doc) {
  var x = new Date(1264515335 * 1000);
  emit(x, null);
}

You get the {} as the key.

Anyone's got an idea what might have happened?

-- 
Slan,
David

Mime
View raw message