mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
date: Capitalize seconds string in synopses
This makes it consistent with other date(1) implementations. Also, it feels more consistent since hours and minutes are already represented as HH and MM respectively. MFC after: 3 days
This commit is contained in:
parent
a12b16f48f
commit
c537bf9d59
|
@ -71,7 +71,7 @@
|
|||
.Ar mm Oc
|
||||
.Ar dd Oc
|
||||
.Ar HH
|
||||
.Oc Ar MM Op Cm \&. Ar ss
|
||||
.Oc Ar MM Op Cm \&. Ar SS
|
||||
.Sm on
|
||||
.Op Cm + Ns Ar output_fmt
|
||||
.\" Set time with the user-provided input format.
|
||||
|
@ -123,7 +123,7 @@ provided rather than using the default
|
|||
.Ar mm Oc
|
||||
.Ar dd Oc
|
||||
.Ar HH
|
||||
.Oc Ar MM Op Cm \&. Ar ss
|
||||
.Oc Ar MM Op Cm \&. Ar SS
|
||||
.Sm on
|
||||
format.
|
||||
Parsing is done using
|
||||
|
@ -330,7 +330,7 @@ Day, a number from 1 to 31.
|
|||
Hour, a number from 0 to 23.
|
||||
.It Ar MM
|
||||
Minutes, a number from 0 to 59.
|
||||
.It Ar ss
|
||||
.It Ar SS
|
||||
Seconds, a number from 0 to 60
|
||||
(59 plus a potential leap second).
|
||||
.El
|
||||
|
|
|
@ -387,7 +387,7 @@ usage(void)
|
|||
" "
|
||||
"[-r filename|seconds] [-v[+|-]val[y|m|w|d|H|M|S]]",
|
||||
" "
|
||||
"[[[[[[cc]yy]mm]dd]HH]MM[.ss] | new_date] [+output_fmt]"
|
||||
"[[[[[[cc]yy]mm]dd]HH]MM[.SS] | new_date] [+output_fmt]"
|
||||
);
|
||||
exit(1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue