Of you're parsing in a js map reduce in Riak that it's bring done via spider monkey engine. I have a blog post on parsing dates in js via different engines. Check mah blog. I'm on a plane.
@siculars http://siculars.posterous.com Sent from my rotary phone. On Jul 22, 2012 12:13 AM, "Marcel Meyer" <marcel.me...@gmail.com> wrote: > I was struggling with this as well. I would get proper dates in a JS test > console, but the exact same function under Riak would yield null dates. > > > On Fri, Jul 20, 2012 at 6:48 PM, Ryan Lazuka <lazuk...@gmail.com> wrote: > >> Data.parse() does not seem to be working in a MapReduce phase. >> http://codepad.org/sT0E5ch5 Here is the resulting array: >> >> [{"description":"","signed-in_date":"07-20-2012","signed-in_time":"9:43 >> pm","date-time":null},{"description":"","signed-in_date":"07-20-2012","signed-in_time":"9:41 >> pm","date-time":null}] >> >> For example, it's trying to parse this date/time: "2012-07-20T21:41:00", >> but that just results in a null value. Like the "date-time" properties >> above. >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com