News for hackers. Stuff that matters.
Re:Timezone updates need to be fixed by sbierwagen on Thursday January 28, 2016 @11:22AM (#10989055)
Use unix time and NTP.
Re:Timezone updates need to be fixed by petke on Thursday January 28, 2016 @11:29AM (#10989112)
Yes. Unix time is utc based. I used manual syncing to ntp server once in a while. Automatic syncing scares me a bit. What happens when it adjust backwards in time. Programs that are running and use elapsed time logic might get very confused. Elapsed time since an event happened might become negative.
Re:Timezone updates need to be fixed by HeXetic on Thursday January 28, 2016 @11:36AM (#10989172)
> What happens when it adjust backwards in time.

NTP deliberately makes only very tiny changes gradually when adjusting clock time backwards. Automatic updates also normally abort if the time difference would be more than 1000s (~16m). This is all fairly well-documented.

https://www.eecis.udel.edu/~mills/ntp/html/index.html

Re:Timezone updates need to be fixed by petke on Thursday January 28, 2016 @12:12PM (#10989481)
Interesting. Still any backward adjustment however small seems potentially dangerous. I googled a bit and it seems many ntp services can slow down the time until its in sync instead of adjusting it backwards. That seems safer.
Re:Timezone updates need to be fixed by gwright on Thursday January 28, 2016 @12:28PM (#10989626)
Generally it isn't a backward adjustment but simply a slowing down of the clock until the 'real time' catches up. On the other side, you speed up a clock to catch up to the real time rather than catching up all at once.