I am currently in UTC +2 timezone (tripoli). While assigning a date value in ISO string, date values get adjusted with DateLightSaving settings I suspect and the date value itself gets changes. Please check the below link to reproduce the issue.
Link: https://codepen.io/anon/pen/bjbodJ
$(function() {$( "#datepicker" ).datepicker(); $( "#datepicker" ).datepicker("setDate", new Date("1937-02-25T22:00:00.000Z"));});
In the edge browser the value is retunred correctly (Firefox, IE also returns correct value). But value changes only with Google Chrome that too only with current latest version but works fine with older version (65).
Edge working screenshot:
Chrome issue screenshot:
In the above two screenshots, you can find that the date value has been changed in the Chrome browser by 1 day. whereas it displays same value in Edge browser (also fine with mozilla and IE).
Can anyone suggest on this.