diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-03-08 20:22:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-03-08 20:22:03 +0000 |
commit | 153bcd9bd3b337120e1afc75ce63cb5b80730913 (patch) | |
tree | 6974ee359fc3b40bb6257aeba350140b285071e6 /doc | |
parent | c14410b47a2719e8b1d74b438dc868d6eb973da4 (diff) | |
download | skalibs-153bcd9bd3b337120e1afc75ce63cb5b80730913.tar.xz |
bugfix: leap second table. Also add leapsec reporting in localtm.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/libstddjb/djbtime.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/libstddjb/djbtime.html b/doc/libstddjb/djbtime.html index f4d280d..724cd66 100644 --- a/doc/libstddjb/djbtime.html +++ b/doc/libstddjb/djbtime.html @@ -57,7 +57,8 @@ Converts the absolute TAI64 time in *<em>t</em> to an UTC time, stored in *<em>u</em> as an unsigned 64-bit integer. *<em>u</em> is actually 2^62 plus the number of seconds since the Epoch. The function returns 1 if it succeeds, or 0 (and sets errno) if an -error occurs. +error occurs. If *<em>t</em> happens to hit a leap second, the function +returns 2 instead of 1. </p> <p> @@ -106,7 +107,8 @@ Converts the TAI time in *<em>t</em> to broken-down GMT (if *<em>tm</em>. The function returns 1 if it succeeds, or 0 (and sets errno) if an error occurs (for instance: *<em>t</em> cannot be validly represented -in a struct tm). +in a struct tm). If *<em>t</em> happens to hit a leap second, the +value of <em>tm→tm_sec</em> is 60. </p> <p> |