Here are two examples for dates typed into Chrome's Developer Tools console:
new Date(-1641003640000)
Mon Dec 31 1917 23:39:20 GMT+0200 (Israel Standard Time)
Add 1 millisecond:
new Date(-1641003640001)
Mon Dec 31 1917 23:59:59 GMT+0220 (Israel Standard Time)
Note the change in timezone to GMT+0220 and the change in seconds from 20 to 59, which can not be correct for a 1 milliseond change.
So, why does the Javascript engine change the timezone from GMT+0200 (which is correct) to an invalid GMT+0220 timezone?
Comment
It seems to be a Chrome bug. The same code works correctly in Firefox:
new Date(-1641003640000)
Date Mon Dec 31 1917 23:39:20 GMT+0200 (Israel Standard Time)
new Date(-1641003640001)
Date Mon Dec 31 1917 23:39:19 GMT+0200 (Israel Standard Time)