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

Re: [PATCH 3/3] gitk: Allow displaying time zones from author and commit timestamps

From
Andreas Schwab <schwab@linux-m68k.org>
Date
May 30, 2011, 22:17 UTC
Message-ID
<m21uzfal5i.fsf@igel.home>
In-Reply-To
<alpine.DEB.2.02.1105301717520.23145@dr-wily.mit.edu>
Anders Kaseorg <andersk@MIT.EDU> writes:
> In Tcl ≥ 8.5, none of this matters because ‘clock format -timezone’ just 
> uses the numerical UTC offset as the zone name.  For the fallback code, I 
> can’t do that by manipulating TZ, because the zone name needs to be made 
> of letters.

POSIX defines the form TZ="<-0430>+04:30" where <...> can contain any character from [a-zA-Z0-9+-].

Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Anders KaseorgNext: Anders Kaseorg
Message 14 of 15 in “gitk: Remove unused $cdate array”
  1. 1/3 gitk: Remove unused $cdate arrayAnders Kaseorg, Jan 19, 2011
  2. 2/3 gitk: Remember time zones from author and commit timestampsAnders Kaseorg, Jan 19, 2011
  3. 3/3 gitk: Allow displaying time zones from author and commit timestampsAnders Kaseorg, Jan 19, 2011
  4. Paul MackerrasMay 29, 2011
  5. Anders KaseorgMay 30, 2011
  6. 3/3 gitk: Allow displaying time zones from author and commit timestampsAnders Kaseorg, May 30, 2011
  7. Andreas SchwabMay 30, 2011
  8. Anders KaseorgMay 30, 2011
  9. 3/3 gitk: Allow displaying time zones from author and commit timestampsAnders Kaseorg, May 30, 2011
  10. Jakub NarebskiMay 30, 2011
  11. Tim GuirgiesMay 30, 2011
  12. Jakub NarebskiMay 30, 2011
  13. Anders KaseorgMay 30, 2011
  14. Andreas SchwabMay 30, 2011
  15. 3/3 gitk: Allow displaying time zones from author and commit timestampsAnders Kaseorg, May 30, 2011

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.