Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/date The range of the SS field is [0,60]



details:   https://anonhg.NetBSD.org/src/rev/034a149f5ff6
branches:  trunk
changeset: 350080:034a149f5ff6
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Tue Jan 03 16:01:05 2017 +0000

description:
The range of the SS field is [0,60]

>From the POSIX time.h man page:
"The formal definition of UTC does not permit double leap seconds, so all mention of double leap seconds has been removed, and the range shortened from the former [0,61] seconds seen in previous 
versions of POSIX."

diffstat:

 bin/date/date.1 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d8171add5454 -r 034a149f5ff6 bin/date/date.1
--- a/bin/date/date.1   Tue Jan 03 15:14:31 2017 +0000
+++ b/bin/date/date.1   Tue Jan 03 16:01:05 2017 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: date.1,v 1.43 2016/08/11 00:38:06 sevan Exp $
+.\"    $NetBSD: date.1,v 1.44 2017/01/03 16:01:05 abhinav Exp $
 .\"
 .\" Copyright (c) 1980, 1990, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -148,7 +148,7 @@
 .It Ar MM
 The minute of the hour, from 00 to 59.
 .It Ar SS
-The second of the minute, from 00 to 61.
+The second of the minute, from 00 to 60.
 .El
 .Pp
 Everything but the minutes is optional.



Home | Main Index | Thread Index | Old Index