|
From: Thorsten O. <ad...@th...> - 2018-08-08 09:34:15
|
On Mittwoch, 8. August 2018 08:59:59 CEST David Gálvez wrote: > tzinit built after that commit fails to set the kernel timezone > correctly, I cannot confirm that. My tzinit was built definitely after that commit, and it seems to set the timezone offset correctly. Only problem seems that it "drifts" when you repeatedly call it after booting: $ date Wed Aug 8 10:59:29 CEST 2018 $ /sbin/tzinit -l Current date and time: Wed Aug 8 06:59:38 2018 Time zone in use: CEST East of Greenwich Mean Time: 2:00:00 Kernel clock mode: localtime $ /sbin/tzinit -l Current date and time: Wed Aug 8 02:59:40 2018 Time zone in use: CEST East of Greenwich Mean Time: 2:00:00 Kernel clock mode: localtime $ /sbin/tzinit -l Current date and time: Tue Aug 7 22:59:41 2018 Time zone in use: CEST East of Greenwich Mean Time: 2:00:00 Kernel clock mode: localtime etc. BTW updating the timezone database won't be that easy. The current version of the zic tool writes a timezone file that would not be understood by code compiled into older executables, so that would require recompiling all tools that make use of any of the time() functions. But it is about time, the current database only covers rules until ~2012 |