diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-10 23:35:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-10 23:35:07 +0100 |
commit | 1c39c822a9a57efc811793ca0ffe9d872eabc12c (patch) | |
tree | 0116f2c7d3363f8f96634e185d90b67637b2524d /Documentation/rev-list-options.txt | |
parent | Merge branch 'js/ci-no-directional-formatting' (diff) | |
parent | strbuf_addftime(): handle "%s" manually (diff) | |
download | git-1c39c822a9a57efc811793ca0ffe9d872eabc12c.tar.xz git-1c39c822a9a57efc811793ca0ffe9d872eabc12c.zip |
Merge branch 'jk/strbuf-addftime-seconds-since-epoch'
The "--date=format:<strftime>" gained a workaround for the lack of
system support for a non-local timezone to handle "%s" placeholder.
* jk/strbuf-addftime-seconds-since-epoch:
strbuf_addftime(): handle "%s" manually
Diffstat (limited to 'Documentation/rev-list-options.txt')
-rw-r--r-- | Documentation/rev-list-options.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 24569b06d1..43a86fa562 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -1047,7 +1047,7 @@ omitted. has no effect. `--date=format:...` feeds the format `...` to your system `strftime`, -except for %z and %Z, which are handled internally. +except for %s, %z, and %Z, which are handled internally. Use `--date=format:%c` to show the date in your system locale's preferred format. See the `strftime` manual for a complete list of format placeholders. When using `-local`, the correct syntax is |