date(1): document '-f' option
This commit is contained in:
parent
1da1ac52d2
commit
b3215c8075
1 changed files with 14 additions and 0 deletions
|
@ -6,6 +6,9 @@ date, clock \- date and time
|
||||||
[
|
[
|
||||||
.I option
|
.I option
|
||||||
] [
|
] [
|
||||||
|
.B -f
|
||||||
|
.I format
|
||||||
|
] [
|
||||||
.I seconds
|
.I seconds
|
||||||
]
|
]
|
||||||
.br
|
.br
|
||||||
|
@ -16,6 +19,8 @@ Print the date, in the format
|
||||||
.B
|
.B
|
||||||
Tue Aug 16 17:03:52 CDT 1977
|
Tue Aug 16 17:03:52 CDT 1977
|
||||||
.PP
|
.PP
|
||||||
|
Or the format specified by the format option.
|
||||||
|
|
||||||
The options are
|
The options are
|
||||||
.TP
|
.TP
|
||||||
.B -u
|
.B -u
|
||||||
|
@ -33,6 +38,13 @@ Report the date as ISO-8601 with time and timezone suffix.
|
||||||
.TP
|
.TP
|
||||||
.B -m
|
.B -m
|
||||||
Report the date as an email compatible (RFC2822) time stamp.
|
Report the date as an email compatible (RFC2822) time stamp.
|
||||||
|
.TP
|
||||||
|
.B -f
|
||||||
|
Print using the format specified by the
|
||||||
|
.I format
|
||||||
|
string rather than the default. Format strings are in the format used by
|
||||||
|
.IR tmdate (2)
|
||||||
|
|
||||||
.PP
|
.PP
|
||||||
The conversion from Greenwich Mean Time to local time depends on the
|
The conversion from Greenwich Mean Time to local time depends on the
|
||||||
.B $timezone
|
.B $timezone
|
||||||
|
@ -65,3 +77,5 @@ into
|
||||||
.B /sys/src/cmd/date.c
|
.B /sys/src/cmd/date.c
|
||||||
.br
|
.br
|
||||||
.B /sys/src/cmd/clock.c
|
.B /sys/src/cmd/clock.c
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
.IR tmdate (2)
|
||||||
|
|
Loading…
Reference in a new issue