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

Re: [RFC PATCH] Add 'human' date format

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jul 7, 2018, 19:58 UTC
Message-ID
<CA+55aFyh4=Udhfn+L__9MiCbjqSLTWBGaAvDOPg5EJWs-DjjPQ@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.21.999.1807071238410.18818@i7.lan>

On Sat, Jul 7, 2018 at 12:39 PM Linus Torvalds <torvalds@linux-foundation.org> wrote:

> to me, but with "--date=human", right now it just says
>
>     Date:   12:21
Side note: this is probably my least favorite of the formats.

I'm playing with making all "today" dates just use the relative format, and then the "a couple of days ago" dates would then have the

>     Date:   Fri 19:45
format.

But since it's _explicitly_ about a "human legible" format, I think the format could be a bit fluid, and things like that might be tweaked later. Anybody who would script this would be crazy.

I'm more looking for "no, that's just stupid" comments, or "no, you're not the only one who has wanted this" kinds of replies.

                  Linus
Previous: Linus TorvaldsNext: Linus Torvalds
Message 2 of 14 in “Add 'human' date format”
  1. Add 'human' date formatLinus Torvalds, Jul 7, 2018
  2. Linus TorvaldsJul 7, 2018
  3. Linus TorvaldsJul 7, 2018
  4. Add 'human' date formatLinus Torvalds, Jul 7, 2018
  5. Andrei RybakJul 11, 2018
  6. Andrei RybakJul 11, 2018
  7. Junio C HamanoJul 11, 2018
  8. Linus TorvaldsJul 11, 2018
  9. Linus TorvaldsJul 11, 2018
  10. Ævar Arnfjörð BjarmasonJul 11, 2018
  11. Linus TorvaldsJul 11, 2018
  12. Junio C HamanoJul 24, 2018
  13. Linus TorvaldsJul 24, 2018
  14. Stephen P. SmithNov 27, 2018

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.