Note that JavaScript's Date.parse() expects timestamps to be formatted in a
style similar to RFC 822, which is not the format shown in your data. You
might want to add the functions from this file to your Riak installation:
https://github.com/seancribbs/ripple/blob/master/lib/rails/generators/ripple/js/templates/js/iso8601.js
They specifically handle parsing and generating ISO8601 date strings
(which are good because they sort lexically, and are more portable than
RFC822 date strings).

On Sun, Jul 22, 2012 at 12:47 PM, lazukars <lazuk...@gmail.com> wrote:

> @siculars The funny thing is that I used your blog for an inspiration for
> my
> code ( The code that was originally posted in this thread. )  I'm not doing
> things exactly the same way you did in your post.  I just can't figure out
> why the code from your blog post works and mine does not.  Mine just
> returns
> null for Date.parse().
>
> Any help is greatly appreciated.
>
>
>
> --
> View this message in context:
> http://riak-users.197444.n3.nabble.com/Data-parse-does-not-seem-to-be-working-in-a-MapReduce-phase-tp4024715p4024732.html
> Sent from the Riak Users mailing list archive at Nabble.com.
>
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>



-- 
Sean Cribbs <s...@basho.com>
Software Engineer
Basho Technologies, Inc.
http://basho.com/
_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to