summaryrefslogtreecommitdiffstats
path: root/git-rev-list.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
committerJunio C Hamano <gitster@pobox.com>2019-02-06 23:20:47 -0800
commit23168ef89678fc52e01173bbc7fdaa760f21d02a (patch)
tree8425bac71f938dfce77a3c2928b2c936b03789c9 /git-rev-list.html
parent2567b326fac6961a6fc6075ad2f22a744252f2f3 (diff)
downloadgit-htmldocs-23168ef89678fc52e01173bbc7fdaa760f21d02a.tar.gz
Autogenerated HTML docs for v2.21.0-rc0
Diffstat (limited to 'git-rev-list.html')
-rw-r--r--git-rev-list.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/git-rev-list.html b/git-rev-list.html
index e6202db90..cd61e3f33 100644
--- a/git-rev-list.html
+++ b/git-rev-list.html
@@ -2206,6 +2206,12 @@ with <code>strftime("%s %z")</code>).
Note that the <code>-local</code> option does not affect the seconds-since-epoch
value (which is always measured in UTC), but does switch the accompanying
timezone value.</p></div>
+<div class="paragraph"><p><code>--date=human</code> shows the timezone if the timezone does not match the
+current time-zone, and doesn&#8217;t print the whole date if that matches
+(ie skip printing year for dates that are "this year", but also skip
+the whole date itself if it&#8217;s in the last few days and we can just say
+what weekday it was). For older dates the hour and minute is also
+omitted.</p></div>
<div class="paragraph"><p><code>--date=unix</code> shows the date as a Unix epoch timestamp (seconds since
1970). As with <code>--raw</code>, this is always in UTC and therefore <code>-local</code>
has no effect.</p></div>