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

Re: [PATCH 1/2] Add --date={local,relative,default}

From
David Kågedal <davidk@lysator.liu.se>
Date
Apr 26, 2007, 06:54 UTC
Message-ID
<87y7kfzkvq.fsf@morpheus.local>
In-Reply-To
<11775633782185-git-send-email-junkio@cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 8 quoted lines
> ++
> +`--date=relative` shows dates relative to the current time,
> +e.g. "2 hours ago".
> ++
> +`--date=local` shows timestamps in user's local timezone.
> ++
> +`--date=default` shows timestamps in the original timezone
> +(either committer's or author's).

Why is "default" called "default" and not, say, "original"? What if I changed the default format to "local" using local configuration. What would "default" show then?

-- 
David Kågedal
Previous: Junio C Hamano
Message 12 of 12 in “Add date format --local-zone”
  1. Add date format --local-zoneJunio C Hamano, Apr 25, 2007
  2. Shawn O. PearceApr 25, 2007
  3. Johannes SchindelinApr 25, 2007
  4. Linus TorvaldsApr 25, 2007
  5. Linus TorvaldsApr 25, 2007
  6. Junio C HamanoApr 25, 2007
  7. Alex RiesenApr 25, 2007
  8. Junio C HamanoApr 25, 2007
  9. Alex RiesenApr 25, 2007
  10. Junio C HamanoApr 25, 2007
  11. 1/2 Add --date={local,relative,default}Junio C Hamano, Apr 26, 2007
  12. David KågedalApr 26, 2007

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.