diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-02-24 22:32:29 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-02-24 22:32:30 +0300 |
commit | a7981d071792234e30d892f3c675df802538f443 (patch) | |
tree | a7efd64506ce66529a3661e53d608320698e343b /Documentation | |
parent | 38a227b796653d61a21d9b31e44e48dd66f647e0 (diff) | |
parent | 9deef088aec321e72955d6ededc9c9f62f083851 (diff) |
Merge branch 'rd/doc-default-date-format'
Update --date=default documentation.
* rd/doc-default-date-format:
rev-list: clarify git-log default date format
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rev-list-options.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index ff68e48406..0d90d5b154 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -1100,12 +1100,12 @@ preferred format. See the `strftime` manual for a complete list of format placeholders. When using `-local`, the correct syntax is `--date=format-local:...`. -`--date=default` is the default format, and is similar to -`--date=rfc2822`, with a few exceptions: +`--date=default` is the default format, and is based on ctime(3) +output. It shows a single line with three-letter day of the week, +three-letter month, day-of-month, hour-minute-seconds in "HH:MM:SS" +format, followed by 4-digit year, plus timezone information, unless +the local time zone is used, e.g. `Thu Jan 1 00:00:00 1970 +0000`. -- - - there is no comma after the day-of-week - - - the time zone is omitted when the local time zone is used ifdef::git-rev-list[] --header:: |