Re: Inconsistency between git-log documentation and behavior regarding default date format.
- From
Jeff King <peff@peff.net>
- Date
- Feb 1, 2023, 11:51 UTC
- Message-ID
- <Y9pSWCS1BNkHt+Mw@coredump.intra.peff.net>
- In-Reply-To
- <8d72f484-6a72-87f9-44f1-3a38471201db@gmail.com>
On Wed, Feb 01, 2023 at 02:33:49AM +0100, Andrei Rybak wrote:
Show 13 quoted lines
> 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