Date implementation in Riak's java vm

Sean Cribbs sean at basho.com
Tue Oct 22 04:01:55 EDT 2013


Toby,

The version we use is equivalent to Spidermonkey 1.8.1 or later. If I recall correctly, you will have to include your own ISO8601 code. There is some in github.com/basho-labs/ripple if you dig it out of the generators.

Sean Cribbs

> On Oct 22, 2013, at 12:57 AM, Toby Corkindale <toby.corkindale at strategicdata.com.au> wrote:
> 
> Hi,
> I've been having some trouble getting the javascript vm in Riak to operate correctly on Date objects.
> 
> According to this, I should be able to create dates using an ISO8601 date string, or a simplified YYYY-MM-DD format.
> 
> http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.1.15
> 
> However in practice, this just results in "Invalid Date" errors.
> 
> Is this a known issue, or am I doing something wrong?
> 
> thanks,
> Toby
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com




More information about the riak-users mailing list