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
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.
--
You received this message because you are subscribed to the Google Groups "Chrome DevTools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/5a35747a-cfe1-433e-a7ab-117901220013%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.