summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b727a23)
raw | patch | inline | side by side (parent: b727a23)
author | Junio C Hamano <gitster@pobox.com> | |
Sat, 14 Jul 2007 06:48:03 +0000 (23:48 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 14 Jul 2007 06:48:03 +0000 (23:48 -0700) |
Now, git-log family can take full range of internally supported date format
to their --date=<format> argument. Document it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
to their --date=<format> argument. Document it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rev-list.txt | patch | blob | history |
index 20dcac625204869cf6c426d338f2fafd567368b9..08e7573b9e1beffceef9d44b047cba3466653b22 100644 (file)
[ \--encoding[=<encoding>] ]
[ \--(author|committer|grep)=<pattern> ]
[ \--regexp-ignore-case ] [ \--extended-regexp ]
- [ \--date={local|relative|default} ]
+ [ \--date={local|relative|default|iso|rfc|short} ]
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
[ \--pretty | \--header ]
[ \--bisect ]
Synonym for `--date=relative`.
---date={relative,local,default}::
+--date={relative,local,default,iso,rfc}::
Only takes effect for dates shown in human-readable format, such
as when using "--pretty".
+
`--date=local` shows timestamps in user's local timezone.
+
+`--date=iso` (or `--date=iso8601`) shows timestamps in ISO 8601 format.
++
+`--date=rfc` (or `--date=rfc2822`) shows timestamps in RFC 2822
+format, often found in E-mail messages.
++
+`--date=short` shows only date but not time, in `YYYY-MM-DD` fomat.
++
`--date=default` shows timestamps in the original timezone
(either committer's or author's).