Bug 216312 - missing explanation for leap seconds when setting date in date(1)
Summary: missing explanation for leap seconds when setting date in date(1)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 9.2-RELEASE
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 13:32 UTC by Victor Porton
Modified: 2017-01-21 23:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Porton 2017-01-20 13:32:17 UTC
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 what mean that there is 23:59:60 time (with 60 seconds, not in 0-59 range).