summaryrefslogtreecommitdiff
path: root/lib/libc/time
diff options
context:
space:
mode:
authorNathan Binkert <nate@cvs.openbsd.org>2001-07-15 20:13:46 +0000
committerNathan Binkert <nate@cvs.openbsd.org>2001-07-15 20:13:46 +0000
commitf2ddc463bf2ef7eddddabefe54769927ccc7db5a (patch)
tree954b2ac9a22edc031c0d751432fb12745f559d75 /lib/libc/time
parentef686787f1039691fc2f8879d9e217f97fd58e0b (diff)
Mention leap seconds as the reason for (00-61)
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/strftime.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/time/strftime.3 b/lib/libc/time/strftime.3
index b858b5c6c76..3537f491705 100644
--- a/lib/libc/time/strftime.3
+++ b/lib/libc/time/strftime.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strftime.3 5.12 (Berkeley) 6/29/91
-.\" $OpenBSD: strftime.3,v 1.12 2000/10/18 05:12:12 aaron Exp $
+.\" $OpenBSD: strftime.3,v 1.13 2001/07/15 20:13:45 nate Exp $
.\"
.Dd January 18, 1998
.Dt STRFTIME 3
@@ -137,7 +137,9 @@ is replaced by the time in the format
is replaced by the locale's representation of 12-hour clock time
using AM/PM notation.
.It Cm \&%S
-is replaced by the second as a decimal number (00-61).
+is replaced by the second as a decimal number (00-61). The range of
+seconds is (00-61) instead of (00-59) to allow for the periodic occurance
+of leap seconds and double leap seconds.
.It Cm %s
is replaced by the number of seconds since the Epoch, UTC (see
.Xr mktime 3 ) .