Hacker News new | ask | show | jobs
by Gibbon1 1772 days ago
What I've seen with embedded systems is you have a real time clock. And the system when it updates the time updates the registers in the real time clock. And then bad things always happen sooner or later

I've always just let the thing run and use an offset to calculate 'users local time'. If the time gets updated I update the offset.

I think that's what programmers want[1]. Instead of the current system system where the primary time unpredictably jumps around.

[1] For time of day programmers probably want a standard formula that takes an offset and a rate to output the time of day.