summaryrefslogtreecommitdiffstats
path: root/git-commit.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-02-25 17:34:37 -0800
committerJunio C Hamano <gitster@pobox.com>2021-02-25 17:34:37 -0800
commita372d5bb569776befd395d9c66067ecc09f13b96 (patch)
treee9f46a0ff18a8d49520307068a47e8944c44aa3d /git-commit.html
parenta70c988a0584e1197ffd19b26c28e9790da32363 (diff)
downloadgit-htmldocs-a372d5bb569776befd395d9c66067ecc09f13b96.tar.gz
Autogenerated HTML docs for v2.31.0-rc0
Diffstat (limited to 'git-commit.html')
-rw-r--r--git-commit.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/git-commit.html b/git-commit.html
index 74f20e435..41b9dd722 100644
--- a/git-commit.html
+++ b/git-commit.html
@@ -1531,8 +1531,7 @@ the other options are provided for more complex use cases.</p></div>
<div class="sect1">
<h2 id="_date_formats">DATE FORMATS</h2>
<div class="sectionbody">
-<div class="paragraph"><p>The <code>GIT_AUTHOR_DATE</code>, <code>GIT_COMMITTER_DATE</code> environment variables
-and the <code>--date</code> option
+<div class="paragraph"><p>The <code>GIT_AUTHOR_DATE</code> and <code>GIT_COMMITTER_DATE</code> environment variables
support the following date formats:</p></div>
<div class="dlist"><dl>
<dt class="hdlist1">
@@ -1577,6 +1576,9 @@ ISO 8601
</div>
</dd>
</dl></div>
+<div class="paragraph"><p>In addition to recognizing all date formats above, the <code>--date</code> option
+will also try to make sense of other, more human-centric date formats,
+such as relative dates like "yesterday" or "last Friday at noon".</p></div>
</div>
</div>
<div class="sect1">
@@ -1640,7 +1642,7 @@ mind.</p></div>
a warning if the commit log message given to it does not look
like a valid UTF-8 string, unless you explicitly say your
project uses a legacy encoding. The way to say this is to
- have i18n.commitencoding in <code>.git/config</code> file, like this:
+ have <code>i18n.commitEncoding</code> in <code>.git/config</code> file, like this:
</p>
<div class="listingblock">
<div class="content">