2

I understand this question sounds a little too silly but yes this is happening. When I tried in console doing

  console.log(new Date("2017-05-22T00:00:00"))

Google chrome gives: "Mon May 22 2017 00:00:00 GMT+0530 (IST)"

while Safari gives "Mon May 22 2017 05:30:00 GMT+0530 (IST)"

why is there a difference of "05:30:00"?

This I am testing on the same machine with IST time zone.

mplungjan
  • 155,085
  • 27
  • 166
  • 222
void
  • 34,922
  • 8
  • 55
  • 102

0 Answers0