2 ms·
My frontend date code just passes a millisecond timestamp to the JS Date object constructor to do validation, so technically any code I've written could be acti
by onion2k 6y ago
My frontend date code just passes a millisecond timestamp to the JS Date object constructor to do validation, so technically any code I've written could be actively deployed until the maximum valid JS Date, which is in the year 275,760. (https://262.ecma-international.org/5.1/#sec-15.9.1.1 https://262.ecma-international.org/5.1/#sec-15.9.1.1)
Something has gone seriously wrong with human society if that ever actually happens.