3 ms·
>I would love to hear proposals on how, at a hardware level, you would track Daylight Saving Time. Traditionally the BIOS ignores it, and Windows on reboot det
by o11c 3y ago
>I would love to hear proposals on how, at a hardware level, you would track Daylight Saving Time.
Traditionally the BIOS ignores it, and Windows on reboot detects if the clock needs to be adjusted according to the latest rules that it knows about. This failed quite often in practice.
Linux systems using tzdata are much more reliable (Windows is still very buggy with historical data), but UTC time support on non-Linux systems was flaky for a long time, leading to bad API design in languages historically.
`timegm` despite being a critical and irreplaceable function is still not in POSIX, for example (though it is widely supported in practice)