I'm working with jQuery datepicker and in Internet Explorer 11 the same date (2017/Aug/12) appears twice and the following (13) doesn't exist. Checking the console I found the following difference between IE11 and Chrome.
Chrome
var a = new Date(2017,07,13)
Returns
Sun Aug 13 2017 01:00:00 GMT-0300 (CLST)
IE11
var a = new Date(2017,07,13)
Returns =
Sat Aug 12 2017 23:00:00 GMT-0400 (CLST)
So in IE11 I can't ask for 2017, Aug, 13.
This is because in that day my country change the timezone, but just it's wrong in IE11.
Some idea how fix that?
Edit
-
I found the root of the issue, in some place we hace the next line:
day.setHours(0, 0, 0, 0);
and that broke the Date Object and change the 13 of August to 12, I dont know why yet.