I hate this array of objects, each object has a date, I want to be able to group these objects into months. Is there a way to convert this,
var data = [
{ date: "2016-08-13",...},
{ date: "2016-07-23",...},
{ date: "2016-08-11",...},
{ date: "2016-08-10",...},
{ date: "2016-07-20",...},
{ date: "2016-07-21",...},
]
into something like this
var data = [
[{ date: "2016-08-13",...},
{ date: "2016-08-11",...},
{ date: "2016-08-10",...}],
[{ date: "2016-07-20",...},
{ date: "2016-07-21",...},
{ date: "2016-07-23",...}[
]