From: Jeff King <peff@peff.net>
To: Andrei Rybak <rybak.a.v@gmail.com>
Cc: Rafael Dulfer <rafael@dulfer.be>, git@vger.kernel.org
Subject: Re: Inconsistency between git-log documentation and behavior regarding default date format.
Date: Wed, 1 Feb 2023 06:51:52 -0500 [thread overview]
Message-ID: <Y9pSWCS1BNkHt+Mw@coredump.intra.peff.net> (raw)
In-Reply-To: <8d72f484-6a72-87f9-44f1-3a38471201db@gmail.com>
On Wed, Feb 01, 2023 at 02:33:49AM +0100, Andrei Rybak wrote:
> Indeed, the description of the option (which comes from
> Documentation/rev-list-options.txt) doesn't describe all differences
> between --date=default and --date=rfc2822.
>
> A fuller list could be:
>
> * There is no comma after the day-of-week
> * The time zone is omitted when the local time zone is used
> * Day-of-month and month are switched around
> * Time-of-day and the year are switched around
>
> CC'ing Peff, who wrote the list of exceptions in add00ba2de (date: make
> "local" orthogonal to date format, 2015-09-03).
I don't think I had any particular reason to omit those other
differences. I probably just didn't notice them. Patches welcome.
-Peff
prev parent reply other threads:[~2023-02-01 11:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <793c8116-f7ea-eef2-6979-231c3e94639a@dulfer.be>
2023-01-24 15:09 ` Inconsistency between git-log documentation and behavior regarding default date format Rafael Dulfer
2023-02-01 1:33 ` Andrei Rybak
2023-02-01 11:51 ` Jeff King [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Y9pSWCS1BNkHt+Mw@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=git@vger.kernel.org \
--cc=rafael@dulfer.be \
--cc=rybak.a.v@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).