Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2017 13:32:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 216312] Leap seconds when setting date
Message-ID:  <bug-216312-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216312

            Bug ID: 216312
           Summary: Leap seconds when setting date
           Product: Base System
           Version: 9.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: porton@narod.ru

>From `date` manpage:

When setting values (rather than adjusting them), seconds are in
the range 0-59, minutes are in the range 0-59, hours are in the

It is wrong, because in some years (such as 2016) there are leap seconds wh=
at
mean that there is 23:59:60 time (with 60 seconds, not in 0-59 range).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216312-8>