Module Name: src
Committed By: abhinav
Date: Sun Dec 25 06:37:50 UTC 2016
Modified Files:
src/lib/libc/time: strptime.3
Log Message:
As per the IEEE 1003.1-2008 standard, the range of values for the %S
format specifier is [0,60].
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/lib/libc/time/strptime.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/time/strptime.3
diff -u src/lib/libc/time/strptime.3:1.34 src/lib/libc/time/strptime.3:1.35
--- src/lib/libc/time/strptime.3:1.34 Sat Oct 31 02:09:06 2015
+++ src/lib/libc/time/strptime.3 Sun Dec 25 06:37:50 2016
@@ -1,4 +1,4 @@
-.\" $NetBSD: strptime.3,v 1.34 2015/10/31 02:09:06 ginsbach Exp $
+.\" $NetBSD: strptime.3,v 1.35 2016/12/25 06:37:50 abhinav Exp $
.\"
.\" Copyright (c) 1997, 1998, 2008 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -162,7 +162,7 @@ the time (12-hour clock) with %p, using
.It Cm \&%R
the time as %H:%M.
.It Cm \&%S
-the seconds [0,61];
+the seconds [0,60];
leading zeros are permitted but not required.
.It Cm \&%s
the number of seconds since the Epoch, UTC (see