well I have this array
let a = ["2020-09-13 10:00", "2020-09-13 11:00", "2020-09-14 10:00"];
and I want it to order like
{"2020-09-13": ["10:00","11:00"]},
{"2020-09-14": ["10:00"]}
I tried anything comes to my mind but I think I am a bit rusty, could you guys please bear a hand?