Fix docs for strptime(fmt) (#3164)

This commit is contained in:
Chris LaRose authored and GitHub committed 2024-08-27 10:59:43 +09:00
1 parent 6322b99252
commit 37f4cd2648
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ you have `pipenv` installed, you can install the dependencies by running
Also, you may need to run `virtualenv -p /usr/bin/python3 venv/` and
then `source venv/bin/activate`, and only then `pipenv sync`.
Once this is done, rerun `./configure` in the jq root directory and then
Once this is done, rerun `./configure --enable-docs` in the jq root directory and then
the `Makefile` will be able to generate the jq manpage. You can just run
`make jq.1` to build the manpage manually, and `make tests/man.test` to
update the manual tests.
+1 -1
View File
@@ -2258,7 +2258,7 @@ sections:
The `strptime(fmt)` builtin parses input strings matching the
`fmt` argument. The output is in the "broken down time"
representation consumed by `gmtime` and output by `mktime`.
representation consumed by `mktime` and output by `gmtime`.
The `strftime(fmt)` builtin formats a time (GMT) with the
given format. The `strflocaltime` does the same, but using
+1 -1
View File
@@ -1763,7 +1763,7 @@ sections:
The `strptime(fmt)` builtin parses input strings matching the
`fmt` argument. The output is in the "broken down time"
representation consumed by `gmtime` and output by `mktime`.
representation consumed by `mktime` and output by `gmtime`.
The `strftime(fmt)` builtin formats a time with the given
format.
+1 -1
View File
@@ -1973,7 +1973,7 @@ sections:
The `strptime(fmt)` builtin parses input strings matching the
`fmt` argument. The output is in the "broken down time"
representation consumed by `gmtime` and output by `mktime`.
representation consumed by `mktime` and output by `gmtime`.
The `strftime(fmt)` builtin formats a time (GMT) with the
given format. The `strflocaltime` does the same, but using
+1 -1
View File
@@ -2207,7 +2207,7 @@ sections:
The `strptime(fmt)` builtin parses input strings matching the
`fmt` argument. The output is in the "broken down time"
representation consumed by `gmtime` and output by `mktime`.
representation consumed by `mktime` and output by `gmtime`.
The `strftime(fmt)` builtin formats a time (GMT) with the
given format. The `strflocaltime` does the same, but using
Generated
+1 -1
View File
@@ -2446,7 +2446,7 @@ The \fBlocaltime\fR builtin works like the \fBgmtime\fR builtin, but using the l
The \fBmktime\fR builtin consumes "broken down time" representations of time output by \fBgmtime\fR and \fBstrptime\fR\.
.
.P
The \fBstrptime(fmt)\fR builtin parses input strings matching the \fBfmt\fR argument\. The output is in the "broken down time" representation consumed by \fBgmtime\fR and output by \fBmktime\fR\.
The \fBstrptime(fmt)\fR builtin parses input strings matching the \fBfmt\fR argument\. The output is in the "broken down time" representation consumed by \fBmktime\fR and output by \fBgmtime\fR\.
.
.P
The \fBstrftime(fmt)\fR builtin formats a time (GMT) with the given format\. The \fBstrflocaltime\fR does the same, but using the local timezone setting\.