On Wed, Jan 27, 2010 at 10:21 AM, David Coallier
<[email protected]> wrote:
> 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.
Can you try with r902422?
If this is a consequence of the json2.js change, we'll have to fix it.
Thanks,
Chris
>
> 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
>
--
Chris Anderson
http://jchrisa.net
http://couch.io