# Re: Inconsistency between git-log documentation and behavior regarding default date format.

- From: Jeff King \<hidden\>
- Date: 2023-02-01 11:51:56 
- List: git
- Page: https://ratatoskr.run/git/2023/02/7964272
- Thread: https://ratatoskr.run/git/2023/01/7964019/t.md

```text
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
```
