Today i ran my automates tests and wondered why I got an error about some date specific stuff.
Turns out that setting a fixed UTC month is not working anymore. But yesterday it did. There are no changes I am aware of.
I tried running the following code
var d = new Date();
d.setUTCMonth(1);
d.toISOString();
which returns
"2019-03-01T10:28:42.108Z"
But month should obviously be february. Also why is the day set to 01 and not today (29)
Tested on Chrome, Edge, Firefox.
Any advice? Am I doing something wrong? Is there a bug in the library?