new Date('2020-10-25')
Sun Oct 25 2020 03:00:00 GMT+0300 (East Africa Time)
I want the hour to be 00:00:00 instead of 03:00:00. I don't want to pass the hour in the date, 2020-10-25 0:0.
Since the question is closed, I can't post my answer, hence I'm writing here,
new Date('10/25/2020') Using / instead of - working as expected.