On 2017-01-05 16:54, Per Jessen wrote:
Carlos E. R. wrote:
On 2017-01-05 16:24, Per Jessen wrote:
Carlos E. R. wrote:
After all, the time function has to be able to do time counting calculations taking into account all the historic variations of the clock.
I'm not sure it does. If you run a system without ntpd, and instead relying only on the RTC, you'll end up with a clock way out of touch with reality, that's all :-)
See "info date", it mentions leap second handling.
How is that relevant to this debate? Perhaps you could extract the pertinent bits.
Well, I don't know where that information is coded. It could get that info from the kernel, maybe from glib, or maybe it has that information is in the user application "date" itself. My theory is that the kernel has this information available and time functions have it available for time calculations. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" at Telcontar)