When using Date constructor, adding a leading zero to the month adds additional shift to hours (possibly according to the timezone.) Is there any logic reason behind this behaviour?
new Date('2020-03-25') → Mar 25 2020 01:00:00 GMT+0100
new Date('2020-3-25') → Mar 25 2020 00:00:00 GMT+0100