git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] rev-list: clarify git-log default date format

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 1, 2023, 22:58 UTC
Message-ID
<xmqqy1phxabi.fsf@gitster.g>
In-Reply-To
<230201.864js5q9sv.gmgdl@evledraar.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 14 quoted lines
>> That is
>>
>>     The default format `--date=default` shows a single line with
>>     three-letter day of the week, three-letter month, day-of-month,
>>     hour-minute-second in the "HH:MM:SS" format, followed by 4-digit
>>     year, plus timezone information unless the local time zone is
>>     used (e.g. "Thu Jan 1 00:00:00 1970 +0000").
>>
>> or something like that.
>
> I think that following such a description in prose is still more
> confusing than just showing an example. E.g. we could say:
> 	
> 	Assuming a user in timezone +0200 (Central Europe) values of
Add "on day X at time Y" here, and I'd buy that ;-)
Show 8 quoted lines
> 	these `--date` argument would produce:
> 	
> 	|---------------+--------------------------------|
> 	| rfc2822       | Thu, 7 Apr 2005 15:13:13 -0700 |
> 	| rfc2822-local | Fri, 8 Apr 2005 00:13:13 +0200 |
> 	| default       | Thu Apr 7 15:13:13 2005 -0700  |
> 	| default-local | Fri Apr 8 00:13:13 2005        |
> 	|---------------+--------------------------------|
Previous: Ævar Arnfjörð BjarmasonNext: Rafael Dulfer
Message 5 of 13 in “rev-list: clarify git-log default date format”
  1. rev-list: clarify git-log default date formatRafael Dulfer, Feb 1, 2023
  2. Junio C HamanoFeb 1, 2023
  3. Jeff KingFeb 1, 2023
  4. Ævar Arnfjörð BjarmasonFeb 1, 2023
  5. Junio C HamanoFeb 1, 2023
  6. Rafael DulferFeb 2, 2023
  7. Junio C HamanoFeb 2, 2023
  8. Junio C HamanoFeb 2, 2023
  9. rev-list: clarify git-log default date formatJunio C Hamano, Feb 16, 2023
  10. Jeff KingFeb 16, 2023
  11. Junio C HamanoFeb 16, 2023
  12. rev-list: clarify git-log default date formatJunio C Hamano, Feb 16, 2023
  13. Jeff KingFeb 16, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.