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
  • 169,008
  • 28
  • 173
  • 236
void
  • 36,090
  • 8
  • 62
  • 107

0 Answers0