From 4fd65aec913a1b99e8d748a7a82c150b8f7ee510 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 2 Jan 2015 10:15:29 +0000 Subject: Remove the --enable-right-tz configure option. Make it a run-time autodetection instead. Update doc. Thanks to Paul Jarc for the suggestion. --- doc/libstddjb/djbtime.html | 13 ++++--------- doc/libstddjb/tai.html | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'doc/libstddjb') diff --git a/doc/libstddjb/djbtime.html b/doc/libstddjb/djbtime.html index 45876c8..2fa3071 100644 --- a/doc/libstddjb/djbtime.html +++ b/doc/libstddjb/djbtime.html @@ -107,15 +107,10 @@ error occurs (for instance: the leap second table cannot be found).

The following functions convert time between an internal representation -and a broken-down struct tm. The ---enable-right-tz configure option is used in -determining how the conversion should proceed. If the --enable-tai-clock -and --enable-right-tz configure options have been both enabled -or both disabled, everything is naturally -converted as it should be. If only one of them has been enabled, -unholy magic happens here -to get the correct broken-down time despite the timezone definition being -wrong. +and a broken-down struct tm. Conversions are performed to +get leap seconds handling right, depending on whether skalibs has been +configured for a TAI-10 or a UTC system clock, and on whether the current +timezone takes leap seconds into account or not.

diff --git a/doc/libstddjb/tai.html b/doc/libstddjb/tai.html index 3524c05..3617959 100644 --- a/doc/libstddjb/tai.html +++ b/doc/libstddjb/tai.html @@ -55,7 +55,7 @@ on time. It's outdated (there was a leap second in 2009), but complete. page about leap seconds, UTC and TAI.

  • The skalibs --enable-tai-clock -and --enable-right-tz documentation.
  • +documentation.
  • Dan J. Bernstein's page on UTC, TAI and Unix time.
  • -- cgit v1.3.1