2 ms·
This "fix" also made it impossible to represent times before 1970. Admittedly that's probably a rare problem, but I can imagine it could have broken something
by _kst_ 5y ago
This "fix" also made it impossible to represent times before 1970.
Admittedly that's probably a rare problem, but I can imagine it could have broken something
(An interesting tidbit: Since 2018-07-22, a 32-bit signed time_t with an epoch of 1970-01-01 has been able to represent the date of birth of every living human. Chiyo Miyako was born 1901-05-02 and died 2018-07-22 at the age of 117 years, 81 days. 2^31-1 seconds before the epoch was 1901-12-13. Reference: https://en.wikipedia.org/wiki/List_of_the_verified_oldest_people https://en.wikipedia.org/wiki/List_of_the_verified_oldest_pe...)