You need to parse the lastmodified time in the header like so:
Date.parse(lastmodified)
That method parses a date string into a unix int. I have a blog post
about it on my blog somewhere.
-Alexander
@siculars on twitter
http://siculars.posterous.com
Sent from my iPhone
On Oct 29, 2010, at 15:53, Duff OMelia <[email protected]> wrote:
Hi,
I was wondering if anyone might have an example of how to use a
javascript Map function from Ruby which uses a specific date time.
For example, I'd like to find the accounts which haven't been charged
in over a month.
When I do something like the following:
http://gist.github.com/654246
it looks as if everything on the javascript side is a string. I was
hoping someone might have an example I might learn from.
Thanks!
------------------------------------------------------------
Duff OMelia
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com