From: Jeff King Date: Wed, 01 Feb 2023 11:51:52 GMT Subject: Re: Inconsistency between git-log documentation and behavior regarding default date format. Message-ID: 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