aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXing Xin <xingxin.xx@bytedance.com>2024-04-12 08:51:16 +0000
committerJunio C Hamano <gitster@pobox.com>2024-04-12 09:03:03 -0700
commit5da40be8d7156f37b5d01071bfcb6c0abafbb8e2 (patch)
treee5c93f0e31d9ff2d099d6021f7305a474ee29692
parent9bbde12feed306b9044060e4eab6b3b4c6628050 (diff)
downloadgit-5da40be8d7156f37b5d01071bfcb6c0abafbb8e2.tar.gz
Documentation: fix typos describing date format
This commit corrects a typographical error found in both date-formats.txt and git-fast-import.txt documentation, where the term `email format` was mistakenly used instead of `date format`. Signed-off-by: Xing Xin <xingxin.xx@bytedance.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/date-formats.txt2
-rw-r--r--Documentation/git-fast-import.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/date-formats.txt b/Documentation/date-formats.txt
index 67645cae64..e24517c496 100644
--- a/Documentation/date-formats.txt
+++ b/Documentation/date-formats.txt
@@ -11,7 +11,7 @@ Git internal format::
For example CET (which is 1 hour ahead of UTC) is `+0100`.
RFC 2822::
- The standard email format as described by RFC 2822, for example
+ The standard date format as described by RFC 2822, for example
`Thu, 07 Apr 2005 22:13:13 +0200`.
ISO 8601::
diff --git a/Documentation/git-fast-import.txt b/Documentation/git-fast-import.txt
index 8b5dd6add0..51cef1b316 100644
--- a/Documentation/git-fast-import.txt
+++ b/Documentation/git-fast-import.txt
@@ -303,7 +303,7 @@ and some sanity checks on the numeric values may also be performed.
with e.g. bogus timezone values.
`rfc2822`::
- This is the standard email format as described by RFC 2822.
+ This is the standard date format as described by RFC 2822.
+
An example value is ``Tue Feb 6 11:22:18 2007 -0500''. The Git
parser is accurate, but a little on the lenient side. It is the