Re: localtime()
Thorsten Glaser <[email protected]> Mon, 5 Dec 2011 09:36:51 +0100 (CET)
| Newsgroups | gmane.linux.lib.dietlibc |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 5 Dec 2011, Laurent Bercot wrote: > Correct time handling under Unix is a mess. I know, I fixed that stuff for MirBSD after all ;-) but gave up using right/ timezones under GNU/Linux, mostly because patches to eg. OpenNTPD are required (OTOH now I’m a DD I could do that…). > What is this thing about German law ? German law requires leap seconds to be counted. > means the system clock should be set to TAI-10, not UTC. Calling a seconds-since-some-epoch value UTC is a misnomer IMO, as UTC is a wallclock “unit”. But yes, with right/ timezones, the kernel time must count leap seconds, and things like OpenNTPD/rdate need to know it. (Also, please avoid writing TAI because of the possible confusion with DJB’s tai64_t which has a bias of 2³⁰.) bye, //mirabilos -- «MyISAM tables -will- get corrupted eventually. This is a fact of life. » “mysql is about as much database as ms access” – “MSSQL at least descends from a database” “it's a rebranded SyBase” “MySQL however was born from a flatfile and went downhill from there” – “at least jetDB doesn’t claim to be a database” (#nosec) ‣‣‣ Please let MySQL and MariaDB finally die!